-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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(python): DataFrame rows_by_key
returning key tuples with elements in wrong order
#19486
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #19486 +/- ##
===========================================
+ Coverage 59.87% 79.55% +19.68%
===========================================
Files 1545 1545
Lines 213433 213405 -28
Branches 2442 2429 -13
===========================================
+ Hits 127791 169782 +41991
+ Misses 85092 43075 -42017
+ Partials 550 548 -2 ☔ View full report in Codecov by Sentry. |
Thanks; I'll take a look at this one later tonight (or tomorrow). |
@alexander-beedie - sorry for the ping, just checking in on this. |
Apologies, got distracted and let this slip through the cracks - taking a look now. |
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.
Tested various parameter permutations on a large-scale frame, and 5 of 7 combinations were faster with this new approach. Really like the simplification you made here.
I might take a look later to see if we can get the two permutations that were marginally slower (~15%) back to the same speed, but as the other 5 parameter combinations were about the same amount faster, this PR looks like a clear win to me (in addition to the correctness fix). Great job 👌
rows_by_key
returning key tuples with elements in wrong order
Fixes the following and simplifies the implementation a bit.