-
Notifications
You must be signed in to change notification settings - Fork 92
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 Series|Expr
cum_min
and cum_max
methods
#1384
Conversation
else pc.cumulative_min(native_series[::-1], skip_nulls=True)[::-1] | ||
) |
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.
Both this and pandas needs to reverse twice. Is there any other option?
Pyarrow introduced |
Not sure if relevant, should we maybe also re-map these into their polars native exprs via |
That's a very good point. However for arrow this is not possible, unless we move operations unsupported natively to use Regarding pandas, I will check that's possible to achieve and add tests. However I am a bit hesitant due to the impossibility of passing arguments along ( |
ahhh, right, I see ✌️ |
Series|Expr.cum_min
methodSeries|Expr
cum_min
and cum_max
methods
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.
awesome, thanks @FBruzzesi !
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