dask_expr._collection.DataFrame.to_legacy_dataframe

dask_expr._collection.DataFrame.to_legacy_dataframe

DataFrame.to_legacy_dataframe(optimize: bool = True, **optimize_kwargs) dask.dataframe.core._Frame

Convert to a legacy dask-dataframe collection

Parameters
optimize

Whether to optimize the underlying Expr object before conversion.

**optimize_kwargs

Key-word arguments to pass through to optimize.