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: str.strip_chars supports take an expr argument #11313

Merged
merged 1 commit into from
Sep 26, 2023

Conversation

reswqa
Copy link
Collaborator

@reswqa reswqa commented Sep 25, 2023

No description provided.

@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 25, 2023
@@ -1102,7 +1103,7 @@ def replace_all(self, pattern: str, value: str, *, literal: bool = False) -> Ser

"""

def strip_chars(self, characters: str | None = None) -> Series:
def strip_chars(self, characters: IntoExprColumn | None = None) -> Series:
Copy link
Collaborator Author

@reswqa reswqa Sep 25, 2023

Choose a reason for hiding this comment

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

str has already included in IntoExprColumn.

@ritchie46 ritchie46 merged commit 17e89cf into pola-rs:main Sep 26, 2023
25 checks passed
romanovacca pushed a commit to romanovacca/polars that referenced this pull request Oct 1, 2023
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.

2 participants