daft.DataFrame.to_pandas#
- DataFrame.to_pandas(coerce_temporal_nanoseconds: bool = False) pandas.DataFrame [source]#
Converts the current DataFrame to a pandas DataFrame. If results have not computed yet, collect will be called.
- Parameters:
coerce_temporal_nanoseconds (bool) – Whether to coerce temporal columns to nanoseconds. Only applicable to pandas version >= 2.0 and pyarrow version >= 13.0.0. Defaults to False. See pyarrow.Table.to_pandas for more information.
- Returns:
pandas DataFrame converted from a Daft DataFrame
Note
This call is blocking and will execute the DataFrame when called
- Return type:
pandas.DataFrame