-
Notifications
You must be signed in to change notification settings - Fork 927
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
[HOTFIX] Fix indexing into a single row of a MultiIndex #9870
[HOTFIX] Fix indexing into a single row of a MultiIndex #9870
Conversation
…fix-multiindex-indexing-row
Codecov Report
@@ Coverage Diff @@
## branch-21.12 #9870 +/- ##
================================================
- Coverage 10.60% 10.60% -0.01%
================================================
Files 118 118
Lines 20081 20082 +1
================================================
Hits 2130 2130
- Misses 17951 17952 +1
Continue to review full report at Codecov.
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
@robertmaynard for some reason we're seeing the @raydouglass I apologize for lumping the formatting change into this PR. I'm happy to split it out if you prefer, but I figured that fewer hotfix PRs would be better at this stage. Let me know how you'd like me to proceed with that. |
I think it is due to how we pull rapids-cmake format file via main instead of the current 'nearest` branch. ( https://github.com/rapidsai/cudf/blob/branch-22.02/ci/checks/style.sh#L17 ) So before 21.12 was released, main pointed at 21.10 and therefore we didn't have the latest changes. |
This is fine |
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.
Python approval
It was recently noticed that the `IncludeCategories`: ``` IncludeCategories: - Regex: '^<ext/.*\.h>' Priority: 2 - Regex: '^<.*\.h>' Priority: 1 - Regex: '^<.*' Priority: 2 - Regex: '.*' Priority: 3 ``` In the `.clang-format` are not really necessary as `ext` has no meaning in RAPIDS. This PR removes these. Depends on #9870. Authors: - Conor Hoekstra (https://github.com/codereport) Approvers: - Nghia Truong (https://github.com/ttnghia) - Bradley Dice (https://github.com/bdice) - MithunR (https://github.com/mythrocks) - Ram (Ramakrishna Prabhu) (https://github.com/rgsl888prabhu) URL: #9876
Given a dataframe
gdf
, this PR fixes indexing the behavior of two types of indexing: 1)gdf.loc[x]
(as opposed togdf.loc[x, y]
where the column is also specified) and 2)gdf.iloc[x]
, which failed erroneously.