dask_expr.DataFrame.to_delayed

dask_expr.DataFrame.to_delayed

DataFrame.to_delayed(optimize_graph=True)

Convert into a list of dask.delayed objects, one per partition.

Parameters
optimize_graphbool, optional

If True [default], the graph is optimized before converting into dask.delayed objects.

Examples

>>> partitions = df.to_delayed()