-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
numpy FutureWarning in df.equals #8509
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
cc @unutbu |
this has to do with the these warning are ALL over (because numpy put them in). Their is an issue about this .... |
see here: #7065 Its really a dumb warning
The only way around AFAICT is to essentially do is iterate and compare but will be slow and this routine should not be slow. We might have to do a cython routine for this (rather than a vectorized method) |
you need to element-wise compare first (otherwise no point in nan detection), which is the rhs of that expression. I think numpy is just doing something dumb. yes, let's close this one. If its a problem in the docs, maybe just make the example non-object dtype. |
It's not really a problem (the warning only shows when building, not in the output docs), and can indeed just change the example. |
Ah, by the way, I think there was something wrong in the example: it did |
If I recall correctly the warning is instigated by the use of
So the null case is already handled. Shall be quash this error message with
(which prints only |
yes I think we can just do that! submit for the linked issue though |
From the example in the v0.13.1 whatsnew docs (http://pandas.pydata.org/pandas-docs/version/0.15.0/whatsnew.html#id12):
gives:
The example in basics.rst section does not have this warning (http://pandas.pydata.org/pandas-docs/version/0.15.0/basics.html#comparing-if-objects-are-equivalent):
The text was updated successfully, but these errors were encountered: