8000 fix: Fix incorrect `drop_nans()` result when used in `group_by()` / `over()` by coastalwhite · Pull Request #25146 · pola-rs/polars · GitHub < 8000 meta name="theme-color" content="#1e2327">
[go: up one dir, main page]

Skip to content

Conversation

@co
8000
astalwhite
Copy link
Collaborator

Fixes #25145.

@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels Nov 3, 2025
@codecov
Copy link
codecov bot commented Nov 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.81%. Comparing base (ed23bd6) to head (a0c3c2c).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #25146      +/-   ##
==========================================
+ Coverage   81.79%   81.81%   +0.02%     
==========================================
  Files        1709     1709              
  Lines      236260   236261       +1     
  Branches     3005     3005              
==========================================
+ Hits       193245   193296      +51     
+ Misses      42247    42197      -50     
  Partials      768      768              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@coastalwhite coastalwhite merged commit eba9beb into pola-rs:main Nov 3, 2025
29 checks passed
@coastalwhite coastalwhite deleted the fix/drop-nans-group-by-25145 branch November 3, 2025 20:49
@nameexhaustion nameexhaustion changed the title fix: Invert drop_nans filtering in group-by context fix: Fix incorrect result when using drop_nans() in group_by() / over() Nov 4, 2025
@nameexhaustion nameexhaustion changed the title fix: Fix incorrect result when using drop_nans() in group_by() / over() fix: Fix incorrect drop_nans() result when used in group_by() / over() Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Bug fix python Related to Python Polars rust Related to Rust Polars

Projects

None yet

Development

Successfully merging this pull request may close these issues.

drop_nans in group_by context drops everything that is not NaN since 1.35.0

1 participant

0