-
Notifications
You must be signed in to change notification settings - Fork 871
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
Maintain the index name after .loc
#11677
Conversation
@@ -286,6 +286,7 @@ def test_dataframe_loc(scalar, step): | |||
"d": np.random.random(size).astype(np.float64), | |||
} | |||
) | |||
pdf.index.name = "index" |
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.
.iloc
behaved correctly before the changes in this PR. Just adding this here for completeness.
rerun tests |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## branch-22.10 #11677 +/- ##
===============================================
Coverage ? 86.41%
===============================================
Files ? 145
Lines ? 23005
Branches ? 0
===============================================
Hits ? 19880
Misses ? 3125
Partials ? 0 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
@gpucibot merge |
Description
Closes #11664
Checklist