arrow_to_numpy¶
- lsst.daf.butler.formatters.parquet.arrow_to_numpy(arrow_table: pa.Table) np.ndarray | np.ma.MaskedArray¶
- Convert a pyarrow table to a structured numpy array. - Parameters:
- arrow_tablepyarrow.Table
- Input arrow table. 
 
- arrow_table
- Returns:
- arraynumpy.ndarrayornumpy.ma.MaskedArray(N,)
- Numpy array table with N rows and the same column names as the input arrow table. Will be masked records if any values in the table are null. 
 
- array