pandas_to_arrow¶
-
lsst.daf.butler.formatters.parquet.
pandas_to_arrow
(dataframe: pd.DataFrame, default_length: int = 10) → pa.Table¶ Convert a pandas dataframe to an arrow table.
Parameters: - dataframe :
pandas.DataFrame
- default_length :
int
, optional Default string length when not in metadata or can be inferred from column.
Returns: - arrow_table :
pyarrow.Table
- dataframe :