Skip to content
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

Merged
merged 1 commit into from
Sep 10, 2022

Conversation

shwina
Copy link
Contributor

@shwina shwina commented Sep 9, 2022

Description

Closes #11664

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@shwina shwina requested a review from a team as a code owner September 9, 2022 20:03
@github-actions github-actions bot added the Python Affects Python cuDF API. label Sep 9, 2022
@@ -286,6 +286,7 @@ def test_dataframe_loc(scalar, step):
"d": np.random.random(size).astype(np.float64),
}
)
pdf.index.name = "index"
Copy link
Contributor Author

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.

@galipremsagar galipremsagar added bug Something isn't working non-breaking Non-breaking change labels Sep 9, 2022
@galipremsagar galipremsagar added this to PR-WIP in v22.10 Release via automation Sep 9, 2022
@galipremsagar galipremsagar moved this from PR-WIP to PR-Reviewer approved in v22.10 Release Sep 9, 2022
@galipremsagar
Copy link
Contributor

rerun tests

@galipremsagar galipremsagar added the 5 - Ready to Merge Testing and reviews complete, ready to merge label Sep 9, 2022
@codecov
Copy link

codecov bot commented Sep 10, 2022

Codecov Report

❗ No coverage uploaded for pull request base (branch-22.10@0684ee1). Click here to learn what that means.
Patch has no changes to coverable lines.

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.
📢 Do you have feedback about the report comment? Let us know in this issue.

@galipremsagar
Copy link
Contributor

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 9f8db66 into rapidsai:branch-22.10 Sep 10, 2022
v22.10 Release automation moved this from PR-Reviewer approved to Done Sep 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 - Ready to Merge Testing and reviews complete, ready to merge bug Something isn't working non-breaking Non-breaking change Python Affects Python cuDF API.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

[BUG] df.loc with list of length 1 does not propagate index name
2 participants