Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Inconsistent behaviour of rename for MultiIndexed DataFrames and Series #4605
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 |
|
|
alefnula commentedAug 19, 2013
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.