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

perf: use is_sorted in ewm_mean_by, deprecate check_sorted #16335

Merged
merged 1 commit into from
May 20, 2024

Conversation

MarcoGorelli
Copy link
Collaborator

@MarcoGorelli MarcoGorelli commented May 20, 2024

If is_sorted has been improved, then I think it makes sense to just remove check_sorted - not sure users should be setting it really as it could lead to incorrect results if misused

@github-actions github-actions bot added performance Performance issues or improvements python Related to Python Polars rust Related to Rust Polars labels May 20, 2024
@MarcoGorelli MarcoGorelli force-pushed the use-is-sorted-in-ewm-mean-by branch 2 times, most recently from 2cc570c to e6ed310 Compare May 20, 2024 13:29
@MarcoGorelli MarcoGorelli marked this pull request as ready for review May 20, 2024 13:43
Copy link

codecov bot commented May 20, 2024

Codecov Report

Attention: Patch coverage is 98.18182% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 81.37%. Comparing base (49e116c) to head (5883c43).
Report is 1 commits behind head on main.

Files Patch % Lines
py-polars/src/lazyframe/visitor/expr_nodes.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main   #16335   +/-   ##
=======================================
  Coverage   81.36%   81.37%           
=======================================
  Files        1403     1403           
  Lines      183739   183760   +21     
  Branches     2954     2955    +1     
=======================================
+ Hits       149507   149531   +24     
+ Misses      33721    33718    -3     
  Partials      511      511           

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

@ritchie46 ritchie46 merged commit 9e3d614 into pola-rs:main May 20, 2024
28 checks passed
Wouittone pushed a commit to Wouittone/polars that referenced this pull request Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance issues or improvements python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants