Skip to content

Warning in 01b-TransitionToDask #6

@dvanic

Description

@dvanic

I get the following warning

/Users/darya/opt/miniconda3/envs/quantum/lib/python3.9/site-packages/dask/dataframe/groupby.py:1351: FutureWarning: In the future, `sort` for groupby operations will default to `True` to match the behavior of pandas. However, `sort=True` does not work with `split_out>1`. To retain the current behavior for multiple output partitions, set `sort=False`.
  warnings.warn(SORT_SPLIT_OUT_WARNING, FutureWarning)

After running

ddf.groupby('cut').mean(split_out=2) #npartitions=2

IDK if we should switch warnings off for all of the course notes or set sort=False to prevent it from happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions