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

feat: Expressify str.split argument. #11117

Merged
merged 5 commits into from
Sep 15, 2023
Merged

Conversation

reswqa
Copy link
Collaborator

@reswqa reswqa commented Sep 14, 2023

This closes #11097.

@github-actions github-actions bot added enhancement New feature or an improvement of an existing feature python Related to Python Polars rust Related to Rust Polars labels Sep 14, 2023
where
T: PolarsDataType,
{
pub fn for_each_generic<'a, F>(&'a self, mut op: F)
Copy link
Collaborator Author

@reswqa reswqa Sep 15, 2023

Choose a reason for hiding this comment

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

Not sure if for_each_value is more suitable, but I just following the convention of apply. More specifically apply_generic.

@ritchie46 ritchie46 merged commit e12fb6f into pola-rs:main Sep 15, 2023
23 of 25 checks passed
@reswqa reswqa deleted the str_split_expr branch September 15, 2023 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or an improvement of an existing feature python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

polars.Expr.str.split could support also Expr instead of only PyString
2 participants