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: fix take return dtype in group context. #11949

Merged
merged 4 commits into from
Oct 23, 2023
Merged

fix: fix take return dtype in group context. #11949

merged 4 commits into from
Oct 23, 2023

Conversation

ritchie46
Copy link
Member

@ritchie46 ritchie46 commented Oct 23, 2023

Take made the cardinal sin of letting the return dtype depend on the data. This is now fixed. take with a single element will now correctly return list<T>. If you want to have a T, consider using the newly added get expression.

@github-actions github-actions bot added internal An internal refactor or improvement rust Related to Rust Polars labels Oct 23, 2023
@ritchie46 ritchie46 changed the title refactor(rust): restructure/rename some function options fix: fix take return dtype in group context. Oct 23, 2023
@github-actions github-actions bot added fix Bug fix python Related to Python Polars labels Oct 23, 2023
@ritchie46 ritchie46 merged commit ce3dd72 into main Oct 23, 2023
25 checks passed
@ritchie46 ritchie46 deleted the refact branch October 23, 2023 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix internal An internal refactor or improvement python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant