Skip to content

Add handling for null values in sort_values - #8167

Merged
jcrist merged 4 commits into
dask:mainfrom
charlesbluca:sort-null-handling
Sep 28, 2021
Merged

jcrist merged 4 commits into
dask:mainfrom
charlesbluca:sort-null-handling

Conversation

@charlesbluca

Copy link
Copy Markdown
Member

Makes changes to sort_values so that null values are no longer dropped. and their position can be specified with na_position; this should help upstream some logic in dask-sql's sorting algorithm.

  • Tests added / passed
  • Passes black dask / flake8 dask / isort dask

@charlesbluca charlesbluca changed the title Add handling for null values in sort_values Add handling for null values in sort_values Sep 21, 2021

@jcrist jcrist left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Overall this looks good to me - just a quick fix on the docstring and this should be good to go.

Comment thread dask/dataframe/core.py Resolved
Comment thread dask/dataframe/core.py Resolved

@jcrist jcrist left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Just fixed a typo, looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants