dask / dask

Parallel computing with task scheduling
https://dask.org
BSD 3-Clause "New" or "Revised" License
12.47k stars 1.7k forks source link

cannot access local variable 'divisions' where it is not associated with a value #11318

Open Cognitus-Stuti opened 1 month ago

Cognitus-Stuti commented 1 month ago

getting this error when trying to use sort_values multiple times

Anything else we need to know?: Dask Scheduler Compute: 1core, 1GB mem Dask Workers: 3, 1core, 1GB mem each using docker to setup a cluster docker compose.yml

Environment:

-Dask version:2024.5.2

Cognitus-Stuti commented 2 weeks ago

this works when I add a print statement for dask.divisions solves this, can anyone confirm that any of the later versions have this issue resolved

print(dask_df.divisions)