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

Series.corr failure #548

Closed
wesm opened this issue Dec 27, 2011 · 0 comments
Closed

Series.corr failure #548

wesm opened this issue Dec 27, 2011 · 0 comments
Labels
Milestone

Comments

@wesm
Copy link
Member

wesm commented Dec 27, 2011

The zero-length check in nancorr is in the wrong place, see below:

from pandas import Series
import numpy as np
s1 = Series( index = range(3) , data = [np.NaN , np.NaN , np.NaN] )
s2 = Series( index = range(3) , data = [np.NaN , np.NaN , np.NaN] )
s2.corr(s1)
@wesm wesm closed this as completed Dec 28, 2011
dan-nadler pushed a commit to dan-nadler/pandas that referenced this issue Sep 23, 2019
…v#168) (pandas-dev#548)

* Raise exception if empty string given as column name (Issue pandas-dev#168)

* Remove range for python 3 compatibility

* updated_changelog
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

1 participant