numpy_to_arrow

lsst.daf.butler.formatters.parquet.numpy_to_arrow(np_array: np.ndarray) pa.Table

Convert a numpy array table to an arrow table.

Parameters:
np_arraynumpy.ndarray

Input numpy array with multiple fields.

Returns:
arrow_tablepyarrow.Table

Converted arrow table.