-
-
Notifications
You must be signed in to change notification settings - Fork 17.5k
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
BUG: 'ExponentialMovingWindow' object has no attribute 'apply' when using 'agg' #41700
Comments
Thanks for the report. I think conceptually it's not well defined what a custom exponentially weighted udf would return. In the meanwhile, I think it would be better if |
Thanks for looking into it. |
@gioxc88 what is a weighted series though? It seems that |
@hudson-ai thanks for the answer. You are indeed correct. The function passed to apply should receive both the series and the weights. |
that's exactly what I would expect. alternatively the current row along with the last result and the alpha factor |
The following code fails:
Below the traceback
The text was updated successfully, but these errors were encountered: