-
Notifications
You must be signed in to change notification settings - Fork 119
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: add str.replace
and str.replace_all
#750
Conversation
str.replace
and str.replace_all
str.replace
and str.replace_all
Co-authored-by: Francesco Bruzzesi <[email protected]>
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One final concern to address π
Co-authored-by: Francesco Bruzzesi <[email protected]>
Co-authored-by: Francesco Bruzzesi <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice one! this is probably fine (i'll do another check in the morning, then will merge) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @lucianosrp , and thanks @FBruzzesi for reviewing!
aah more gifs ! π€£ |
What type of PR is this? (check all applicable)
Related issues
Checklist
If you have comments or can explain your changes, please do so below.
In polars,
Expr.replace
andExpr.replace_all
also accept andExpr
for the pattern and value arguments.But this seems only to be true when using
pl.lit
as arguments.I just implemented the type
str
for this PR.