pandas_to_astropy

lsst.daf.butler.formatters.parquet.pandas_to_astropy(dataframe: pd.DataFrame) atable.Table

Convert a pandas dataframe to an astropy table, preserving indexes.

Parameters:
dataframepandas.DataFrame

Input pandas dataframe.

Returns:
astropy_tableastropy.table.Table

Converted astropy table.