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

fix: Add the missing feature flag for ewm_mean_by #15687

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

reswqa
Copy link
Collaborator

@reswqa reswqa commented Apr 16, 2024

This fixes #15684.

@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels Apr 16, 2024
@@ -4,31 +4,6 @@ pub(super) fn ewm_mean(s: &Series, options: EWMOptions) -> PolarsResult<Series>
polars_ops::prelude::ewm_mean(s, options)
}

pub(super) fn ewm_mean_by(
Copy link
Collaborator Author

@reswqa reswqa Apr 16, 2024

Choose a reason for hiding this comment

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

This mod is import if ewma enabled, but ewm_mean_by hides behind the ewma_by feature gate. The two are currently independent.

Copy link
Collaborator

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

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

thanks for catching and correcting this!

@reswqa reswqa marked this pull request as ready for review April 16, 2024 08:36
@ritchie46 ritchie46 merged commit 0e68e75 into pola-rs:main Apr 16, 2024
20 checks passed
@reswqa reswqa deleted the ewm_mean_feature branch April 16, 2024 08:53
Copy link

codspeed-hq bot commented Apr 16, 2024

CodSpeed Performance Report

Merging #15687 will not alter performance

Comparing reswqa:ewm_mean_feature (eeb0302) with main (5e68541)

Summary

✅ 22 untouched benchmarks

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.

polars_lazy 0.39.1 documentation build failed
3 participants