-
Notifications
You must be signed in to change notification settings - Fork 908
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
Fix loc
for Series with a MultiIndex
#7243
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps PR description can provide a touch more detail on the improvement being made?
Co-authored-by: Michael Wang <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but should address @rgsl888prabhu's comments
Codecov Report
@@ Coverage Diff @@
## branch-0.18 #7243 +/- ##
===============================================
+ Coverage 82.09% 82.21% +0.12%
===============================================
Files 97 99 +2
Lines 16474 16844 +370
===============================================
+ Hits 13524 13849 +325
- Misses 2950 2995 +45
Continue to review full report at Codecov.
|
@gpucibot merge |
rerun tests |
@gpucibot merge |
Fixes #7221 and adds improvements to
loc
with a MultiIndex.loc
on aSeries
with aMultiIndex
would fail. For example:loc
on aDataFrame
with aMultiIndex
would fail when a slice withoutstart
orend
was used. For example:Both the above issues have been addressed and tests added.