arrow_schema_to_pandas_index¶
-
lsst.daf.butler.formatters.parquet.
arrow_schema_to_pandas_index
(schema: pa.Schema) → pd.Index | pd.MultiIndex¶ Convert an arrow schema to a pandas index/multiindex.
Parameters: - schema :
pyarrow.Schema
Input pyarrow schema.
Returns: - index :
pandas.Index
orpandas.MultiIndex
Converted pandas index.
- schema :