-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Inconsistent behaviour of rename for MultiIndexed DataFrames and Series #4605
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
looks like it should be called on every element of the tuple similar to frames. not sure why it's not |
yep..think this has always been there, adding to the post series2 cleaning; another inconsistency between series/frame....should be fixable (though these are not always trivial as series jumped thru hoops sometimes to do some of these types of things) |
maybe we should call it "aftermath"? 😄 |
Another small observation: |
That's not true. Do |
@cancan101 example? |
This seems to indicate that whereas |
I suppose instead of the |
Yes. Although for backward compatibility I would imagine |
ok....marking as an API issue (and a bug), will look at some point |
it probably just needs to special case MultiIndex, since if you look at the |
|
If I try to rename a MultiIndexed DataFrame, everything works correctly:
But if I do the same thing with the Series, it doesn't work:
This behavior is observed in 0.12 and in the master branch.
The text was updated successfully, but these errors were encountered: