dask_expr._collection.Series.get_partition

dask_expr._collection.Series.get_partition

Series.get_partition(n)

Get a dask DataFrame/Series representing the nth partition.

Parameters
nint

The 0-indexed partition number to select.

Returns
Dask DataFrame or Series

The same type as the original object.