dask_expr._collection.from_legacy_dataframe

dask_expr._collection.from_legacy_dataframe

dask_expr._collection.from_legacy_dataframe(ddf: dask.dataframe.core._Frame, optimize: bool = True) dask_expr._collection.FrameBase[source]

Create a dask-expr collection from a legacy dask-dataframe collection

Parameters
optimize

Whether to optimize the graph before conversion.