Closed
Description
Is your feature request related to a problem? Please describe.
Pandas has a .expanding
aggregation, which is basically rolling with a full lookback. I often end up supplying rolling with the length of the dimension, and this is some nice sugar for that.
Describe the solution you'd like
Basically the same as pandas — a .expanding
method that returns an Expanding
class, which implements the same methods as a Rolling
class.
Describe alternatives you've considered
Some options:
– This
– Don't add anything, the sugar isn't worth the additional API.
– Go full out and write specialized expanding algos — which will be faster since they don't have to keep track of the window. But not that much faster, likely not worth the effort.