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_tableastropy.table.Table

Input astropy table.

indexstr

Name of column for pandas to set as index, if read as DataFrame.