arrow_to_pandas¶
- lsst.daf.butler.formatters.parquet.arrow_to_pandas(arrow_table: pa.Table) pd.DataFrame ¶
Convert a pyarrow table to a pandas DataFrame.
- Parameters:
- arrow_table
pyarrow.Table
Input arrow table to convert. If the table has
pandas
metadata in the schema it will be used in the construction of theDataFrame
.
- arrow_table
- Returns:
- dataframe
pandas.DataFrame
- dataframe