numpy_to_astropy

lsst.daf.butler.formatters.parquet.numpy_to_astropy(np_array: np.ndarray) atable.Table

Convert a numpy table to an astropy table.

Parameters:
np_arraynumpy.ndarray

Input numpy array with multiple fields.

Returns:
astropy_tableastropy.table.Table

Converted astropy table.