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_table
pyarrow.Table Input arrow table.
Returns#
- array
numpy.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.
- arrow_table