-
Notifications
You must be signed in to change notification settings - Fork 901
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 bug where df.loc
resulting in single row could give wrong index
#11998
Conversation
Codecov ReportBase: 87.40% // Head: 88.12% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## branch-22.12 #11998 +/- ##
================================================
+ Coverage 87.40% 88.12% +0.71%
================================================
Files 133 133
Lines 21833 21991 +158
================================================
+ Hits 19084 19380 +296
+ Misses 2749 2611 -138
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. |
CI passes! That's nice. The lines I am proposing to remove originated in #1622 by @shwina (this commit specifically: 04c4fc6). @shwina, any idea why these lines were added and what they're supposed to do? Recall that I encountered this bug when trying to do joins or merges by index on two |
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.
I think we can delete some more code here...
Alas, I have not. Happy to see code go away though! |
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.
Thanks!
@gpucibot merge |
Description
Fixes #11930
I can't figure out the purpose of these lines, so let's try removing them and run CI.
I haven't followed git blame back far enough to know the full story of these lines, but they originate at least three years ago:
https://github.com/rapidsai/cudf/pull/2208/files#diff-5f58cf9dfe537ce53c6481f690ba66ff10807da04ad82df1c79c6d112d19c08b
Checklist