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

Check null count too in sum aggregation #17964

Open
wants to merge 9 commits into
base: branch-25.04
Choose a base branch
from

Conversation

Matt711
Copy link
Contributor

@Matt711 Matt711 commented Feb 9, 2025

Description

Closes #17963. We should also check the null count when doing a sum aggregation to match polars.

Also adds size and null_count directly to cudf.polars Column class.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@Matt711 Matt711 added bug Something isn't working non-breaking Non-breaking change labels Feb 9, 2025
@Matt711 Matt711 requested a review from a team as a code owner February 9, 2025 18:43
@Matt711 Matt711 requested review from wence- and mroeschke February 9, 2025 18:43
@github-actions github-actions bot added Python Affects Python cuDF API. cudf.polars Issues specific to cudf.polars labels Feb 9, 2025
Copy link
Contributor

@vyasr vyasr left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

Copy link
Contributor

@mroeschke mroeschke left a comment

Choose a reason for hiding this comment

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

My review can be rolled into another PR

@Matt711
Copy link
Contributor Author

Matt711 commented Feb 10, 2025

My review can be rolled into another PR

Thanks, I applied them in this PR :)

@Matt711
Copy link
Contributor Author

Matt711 commented Feb 11, 2025

/merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cudf.polars Issues specific to cudf.polars non-breaking Non-breaking change Python Affects Python cuDF API.
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

[BUG] The sum of a fully missing column differs between polars[gpu] and polars.
3 participants