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_array
numpy.ndarray
- np_array
- Returns:
- arrow_table
pyarrow.Table
- arrow_table
Convert a numpy array table to an arrow table.
numpy.ndarray
pyarrow.Table