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

Handle empty dataframe object with index present in setitem of loc #15752

Merged
merged 3 commits into from
May 15, 2024

Conversation

galipremsagar
Copy link
Contributor

Description

Fixes: #15718

This PR fixes an issue with loc setitem where the dataframe is empty but has an index of length greater than 0.

Checklist

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

@galipremsagar galipremsagar added bug Something isn't working non-breaking Non-breaking change labels May 14, 2024
@galipremsagar galipremsagar self-assigned this May 14, 2024
@galipremsagar galipremsagar requested a review from a team as a code owner May 14, 2024 21:35
@github-actions github-actions bot added the cuDF (Python) Affects Python cuDF API. label May 14, 2024
@galipremsagar galipremsagar added the 5 - Ready to Merge Testing and reviews complete, ready to merge label May 14, 2024
@galipremsagar
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit 04d247c into rapidsai:branch-24.06 May 15, 2024
70 checks passed
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 cuDF (Python) Affects Python cuDF API. non-breaking Non-breaking change
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[BUG] df.loc drops index labels during assignment
2 participants