-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: Bug in xs ignored droplevel #37776
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
Changes from 2 commits
c9e5e81
3205e8d
6614f5e
f3d54f7
5c5eee1
0f0bb77
c0ac9b2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3708,7 +3708,9 @@ class animal locomotion | |
return result | ||
|
||
if axis == 1: | ||
return self[key] | ||
if drop_level: | ||
return self[key] | ||
return self[[key]] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. PITA but this causes us to make a copy instead of a view. can we re-use any of the code in the rest of the method to keep this consistent? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would make this pretty complex probably, but will have a look tomorrow There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should work, but got a bit more complex. Using iloc now to select the data if |
||
|
||
index = self.index | ||
if isinstance(index, MultiIndex): | ||
|
Uh oh!
There was an error while loading. Please reload this page.