-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
DOC: MultiIndex Indexing Using Slices #5280
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
pls read the docs http://pandas.pydata.org/pandas-docs/dev/indexing.html those operations are not supported in that format (and have never been), nor will for good reason |
@jreback I have read those docs. Okay, Is this there any easy way to accomplish dropping a level of column name hierarchy? Also the second exception (TypeError) is not very helpful. |
So far my best option is:
|
@cancan101 |
|
And there are still some more things that are undocumented. PR? The methods specific to MultiIndex are:
|
Please don't document them right now - many of those are more internal than |
Should we create a ticket to keep track of the eventual documentation?
|
related is #6301 |
this is effectively closed by #6301. The documentation will be done when Index is refactored, |
I have the following
DataFrame
:which I can index like this:
I would expect this to work, but ti does not:
as well as this (which also raises an unhelpful error message):
The text was updated successfully, but these errors were encountered: