-
Notifications
You must be signed in to change notification settings - Fork 596
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: rolling
method
#10479
Comments
Related to #10091, but this is actually suggesting adding the syntactic sugar. Another alternative would be to document this. |
It seems like the major difference here is the setting of a lower bound for the minimum number of observations required before emitting an aggregated value. I don't think What if I want the Ibis behavior where I start emitting values as soon as I have at least one non-null value? How would I write that with polars? |
hey - with |
Hm, I wonder if an analogous argument could be passed to I don't think |
When I looked into this last night, But |
Is your feature request related to a problem?
Add syntactic sugar for rolling aggregation.
What is the motivation behind your request?
Polars (and pandas) support
DataFrame.rolling()
. For example:The desired NULL behavior makes this more involved in Ibis (or SQL):
Motivated by discussion of https://www.linkedin.com/posts/marcogorelli_rolling-mean-polars-vs-duckdb-syntax-activity-7261736840561397761-LYLh/ with @MarcoGorelli.
Describe the solution you'd like
or
or even
What version of ibis are you running?
9.5.0
What backend(s) are you using, if any?
DuckDB
Code of Conduct
The text was updated successfully, but these errors were encountered: