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
Input numpy array with multiple fields.
Returns: - arrow_table :
pyarrow.Table
Converted arrow table.
- np_array :