-
Notifications
You must be signed in to change notification settings - Fork 903
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
[FEA] Support the min_count
argument in groupby aggregations
#9009
Comments
@vyasr assigned you based on our chat offline :) |
This issue has been labeled |
This issue has been labeled |
Add support for numeric_only in DataFrame._reduce, this way can use df.mean(numeric_only=True), etc. Resolves #2067. Also partially addresses #9009. Authors: - https://github.com/martinfalisse Approvers: - Michael Wang (https://github.com/isVoid) - Vyas Ramasubramani (https://github.com/vyasr) URL: #10629
As of #10629 the |
min_count
and numeric_only
arguments in groupby aggregationsmin_count
argument in groupby aggregations
Updated 5/13/2024:
numeric_only
is now supported (as of #10629).min_count
is not yet supported.In Pandas, groupby aggregations (e.g.,
max
) accept the following arguments:min_count
: the minimum number of non-null values required per group in order for the result to be non-nullnumeric_only
: only aggregate numeric columnsIt would be nice for cuDF to support these as well:
The text was updated successfully, but these errors were encountered: