arrow_to_numpy

lsst.daf.butler.formatters.parquet.arrow_to_numpy(arrow_table: pa.Table) np.ndarray

Convert a pyarrow table to a structured numpy array.

Parameters:
arrow_tablepyarrow.Table

Input arrow table.

Returns:
arraynumpy.ndarray (N,)

Numpy array table with N rows and the same column names as the input arrow table.