numpy_dict_to_arrow¶
-
lsst.daf.butler.formatters.parquet.
numpy_dict_to_arrow
(numpy_dict: Dict[str, np.ndarray]) → pa.Table¶ Convert a dict of numpy arrays to an arrow table.
Parameters: - numpy_dict :
dict
[str
,numpy.ndarray
] Dict with keys as the column names, values as the arrays.
Returns: - arrow_table :
pyarrow.Table
- numpy_dict :