Skip to content
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

pandas.rolling_std() gives nans where it probably shouldn't #1840

Closed
erg opened this issue Sep 4, 2012 · 4 comments
Closed

pandas.rolling_std() gives nans where it probably shouldn't #1840

erg opened this issue Sep 4, 2012 · 4 comments
Labels
Milestone

Comments

@erg
Copy link
Contributor

erg commented Sep 4, 2012

The output differs from bottleneck, which also gives nans, but fewer.

The Factor version never outputs nans and otherwise matches the pandas version.

https://gist.github.com/3624548

@erg
Copy link
Contributor Author

erg commented Sep 4, 2012

Same bug report on bottleneck:
pydata/bottleneck#50

@erg
Copy link
Contributor Author

erg commented Sep 6, 2012

Bottleneck is fixing their version of this bug...;)

@erg
Copy link
Contributor Author

erg commented Sep 7, 2012

The bottleneck bug was taking the square root of a negative number. Probably the problem here.

@wesm wesm closed this as completed in 821da97 Sep 7, 2012
@wesm
Copy link
Member

wesm commented Sep 7, 2012

thanks, fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants