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
does seem odd, but the value is indistinguishable from 0. so this is probably a round effect somewhere in cython. I'll mark it, but would need someone to deep dive into the code
In [43]: np.allclose([pd.rolling_mean(s, 1)['1999-04-05']],[0.0],atol=1e-20)
Out[43]: False
In [45]: np.allclose([pd.rolling_mean(s, 1)['1999-04-05']],[0.0],atol=1e-19)
Out[45]: True
We came upon this issue today while trying to take a square root of a non-negative series.
A quick search came up with this old issue: #2527 issue was reproduced on 0.15 by tweaking the code from the previous report, which is below:
which returns -5.4210108624275222e-20.
The text was updated successfully, but these errors were encountered: