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:
- dataframe
pandas.DataFrame
- dataframe
- Returns:
- astropy_table
astropy.table.Table
- astropy_table