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