-
Notifications
You must be signed in to change notification settings - Fork 18
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
Support cumsum, cumprod #91
Comments
I tried looking into this a while ago but I got stuck, because I found no examples of an aggregation where the shape stays the same. If you have more guidelines/ideas where to look it would be appreciated. |
Great to hear. Warning: This is going to be quite complicated :) Here's how dask implements cumsum: https://docs.dask.org/en/stable/_modules/dask/array/reductions.html#cumsum We'll need something like that with custom I would try to get I would also try really hard to just reuse the Line 359 in 0d353ec
|
Ooooh I forgot to mention, just getting the pure numpy version to work would be a great step forward :) We can always start there. |
Done in #370 but still needs the following
|
Supporting just numpy should be relatively easy. This will also work for
method="blockwise"
by default.We may want to rename
groupby_reduce
togroupby_agg
?For dask proper, we'll need to use
dask.array.cumreduction
instead ofdask.array.blockwise
+dask.array.reductions._tree_reduce
The text was updated successfully, but these errors were encountered: