add_pandas_index_to_astropy¶
- lsst.daf.butler.formatters.parquet.add_pandas_index_to_astropy(astropy_table: atable.Table, index: str) None ¶
Add special metadata to an astropy table to indicate a pandas index.
- Parameters:
- astropy_table
astropy.table.Table
Input astropy table.
- index
str
Name of column for pandas to set as index, if read as DataFrame.
- astropy_table