You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use ALB as window (and min_periods) input for the .rolling part of the percentrank function, row by row.
I think it would make sense if we were able to use a non-fixed size moving window in .rolling and also in .ewm.
So ideally the parameters window and min_periods (in .rolling) could also accept Series.
This has already been mentioned in issue #26920. but the issue has been closed by @TomAugspurger, stating it looks like a duplicate of #23002.
I guess there is a (inefficient, naive) way of doing it, but I'm puzzled how to make it work.
A 'workaround' is mentioned here I think, but I'm still struggling.
Maybe someone can help?
The text was updated successfully, but these errors were encountered:
If you download the 1.0rc, you can try out the new feature of defining your own BaseIndexer that allows you to define a function that dictates the start and end bounds of each rolling/ewm window.
Hi everyone.
I'm trying to code adaptive lookback indicators in Python/pandas.
The code above results in a "ValueError: window must be an integer"
When using a fixed size window of 60
I get the following output:
I would like to use ALB as window (and min_periods) input for the .rolling part of the percentrank function, row by row.
I think it would make sense if we were able to use a non-fixed size moving window in .rolling and also in .ewm.
So ideally the parameters window and min_periods (in .rolling) could also accept Series.
This has already been mentioned in issue #26920. but the issue has been closed by @TomAugspurger, stating it looks like a duplicate of #23002.
I guess there is a (inefficient, naive) way of doing it, but I'm puzzled how to make it work.
A 'workaround' is mentioned here I think, but I'm still struggling.
Maybe someone can help?
The text was updated successfully, but these errors were encountered: