-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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
Nan
in the multi index get cast into string after a subtraction
#7031
Comments
I see the result you are getting Bottom line, this is a 'feature' that maybe can be implemented at some point, but its quite tricky. So avoid for now; I'll leave the issue open (and link to another).
|
Thanks, I'll avoid using the |
As of 0.20.2, this no longer seems to be an issue:
So I think this can be closed. |
can u do a pr with this test? |
Sure, will do. |
Closed by #16625 |
related #6322
Hi,
I've found this accidentally that after the subtraction between
df1
anddf2
, thenan
in the multi index has turned to astring
rather than the originalfloat
type. And it's also weird that this issue only happens with theparse_dates
set toFalse
.The following is the code to reproduce:
versions of pandas and it's dependencies:
The text was updated successfully, but these errors were encountered: