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

Support operations with groups in the Lazy Polars backend #890

Merged
merged 2 commits into from
Apr 2, 2024

Conversation

philss
Copy link
Member

@philss philss commented Apr 1, 2024

This is a fix for #498

Most of the operations that we had and should work with groups are now supported. The only remaining is the sample/3, which may add to this PR soon.

EDIT: sample/3 is giving me an error that I can't understand. I will merge this without that function. I should revisit later.

This is a fix for #498

It supports operations that should consider groups by using three
methods:
- group_by + agg + explode
- group_by + lazy frame operations like `head` and `tail`
- `col(*)` + operation + `over(groups)` which is a window function.
@philss
Copy link
Member Author

philss commented Apr 2, 2024

I'm merging this without the sample/3 because of an error. I should go back to that function later.

@philss philss merged commit 8846791 into main Apr 2, 2024
4 checks passed
@philss philss deleted the ps-lazy-frame-w-groups branch April 2, 2024 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants