-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Assigning from other NDFrame broken on multiple MultiIndex columns #12313
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
this is correct. you are reindexing in both cases and you don't have any matches.
|
Ouch! |
While my example was remarkably stupid, it came from an oversimplification of
... which I assumed should work, since
does. What do you think? |
I suppose you could make an argument that
this should work. I don't think there is ANY support for this and would make an already very complicated interface even worse. If you want to see what you can do great. But would need to make things simpler and not more complicated. |
this is also a dupe of #6699 |
That is: the first
loc
is doing what we expect, but the second is only creating a row ofNaN
s. By the way, giving an explicit columns list does not help, anddoes not even raise an error.
The text was updated successfully, but these errors were encountered: