-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: ewm*() functions interpret min_periods off by one? #7884
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
Comments
In particular, these lines in ewma() look fishy to me:
I would have expected something like:
|
Note that the meaning of For example,
returns |
Also, I just noticed that I created #7900 to address this. |
In the examples below with
min_periods=2
,expanding_mean/std
start to give values once there are two values, butewma/std
only once there are three values. Is this intentional? It looks like a bug to me.The text was updated successfully, but these errors were encountered: