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(python): Add Expr.arg_true #7056

Merged
merged 1 commit into from
Mar 1, 2023
Merged

Conversation

zundertj
Copy link
Collaborator

@zundertj zundertj commented Feb 20, 2023

See #7016.

We have pl.arg_where and Series.arg_true; this PR adds Expr.arg_true. I think arg_true makes more sense as name then arg_where when operating on the expression. Added the cross-references in the docstrings.

@github-actions github-actions bot added enhancement New feature or an improvement of an existing feature python Related to Python Polars labels Feb 20, 2023
@ritchie46
Copy link
Member

Can this one get a rebase?

@zundertj zundertj force-pushed the arg_true branch 3 times, most recently from d7b71f9 to 64b9ec2 Compare February 26, 2023 13:38
We have `pl.arg_where` and `Series.arg_true`; this PR adds `Expr.arg_true`. I think `arg_true` makes more sense as name then `arg_where` when operating on the expression.
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants