Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow numeric_only=True for simple groupby reductions #15326

Merged
merged 12 commits into from
Mar 18, 2024

Conversation

rjzamora
Copy link
Member

Description

Adds some simple logic to handle the case that DataFrameGroupBy._reduce(numeric_only=True) is called.

Further Background

This change is needed for some dask_cudf groupby aggregations (e.g. "mean") to work with the latest dask/dask-expr:main. Although other workarounds and "fixes" are possible, the easiest solution is probably something like this PR.

@rjzamora rjzamora added Python Affects Python cuDF API. dask Dask issue improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Mar 18, 2024
@rjzamora rjzamora self-assigned this Mar 18, 2024
@rjzamora rjzamora requested a review from a team as a code owner March 18, 2024 15:38
@rjzamora rjzamora requested review from vyasr and shwina March 18, 2024 15:38
@rjzamora rjzamora changed the base branch from branch-24.04 to branch-24.06 March 18, 2024 16:20
@rjzamora rjzamora requested a review from a team as a code owner March 18, 2024 16:20
@rjzamora rjzamora requested a review from robertmaynard March 18, 2024 16:20
@github-actions github-actions bot added the libcudf Affects libcudf (C++/CUDA) code. label Mar 18, 2024
@github-actions github-actions bot removed the libcudf Affects libcudf (C++/CUDA) code. label Mar 18, 2024
@github-actions github-actions bot added the libcudf Affects libcudf (C++/CUDA) code. label Mar 18, 2024
@github-actions github-actions bot removed the libcudf Affects libcudf (C++/CUDA) code. label Mar 18, 2024
@rjzamora rjzamora removed request for a team and robertmaynard March 18, 2024 16:49
@rjzamora
Copy link
Member Author

/merge

@rapids-bot rapids-bot bot merged commit f091949 into rapidsai:branch-24.06 Mar 18, 2024
75 checks passed
@rjzamora rjzamora deleted the allow-numeric-only branch March 18, 2024 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dask Dask issue improvement Improvement / enhancement to an existing function non-breaking Non-breaking change Python Affects Python cuDF API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants