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

refactor: always use non-legacy float_sum for mean #15343

Merged
merged 6 commits into from
Mar 28, 2024

Conversation

orlp
Copy link
Collaborator

@orlp orlp commented Mar 27, 2024

This removes the old legacy float sum implementation by genericizing our current float sum to allow a cast step. Now you can compute a float sum directly from a slice/PrimitiveArray of any numeric type.

@github-actions github-actions bot added internal An internal refactor or improvement python Related to Python Polars rust Related to Rust Polars labels Mar 27, 2024
@ritchie46 ritchie46 merged commit c9d94e1 into pola-rs:main Mar 28, 2024
18 checks passed
@c-peters c-peters added the accepted Ready for implementation label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Ready for implementation internal An internal refactor or improvement python Related to Python Polars rust Related to Rust Polars
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants