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_table : pyarrow.Table
Returns:
array : numpy.ndarray (N,)

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