-
Notifications
You must be signed in to change notification settings - Fork 902
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
[REVIEW] Reindex in DataFrame.__setitem__
#7957
Conversation
This PR fixes missing reindexing in `DataFrame.__setitem__` when the `value` argument is a `DataFrame`, we currently align index if `value` is a Series & `arg` is a column name already. This change is necessary to continue with the upgrade to pandas `1.2.4`, however pandas has confirmed this as a regression only in `1.2.0` and `1.2.2` hence corrected the pytest to only xfail in those versions of pandas. Authors: - GALI PREM SAGAR (https://github.com/galipremsagar) Approvers: - Ashwin Srinath (https://github.com/shwina) URL: rapidsai#7948
rerun tests |
DataFrame.__setitem__
DataFrame.__setitem__
Codecov Report
@@ Coverage Diff @@
## branch-0.19 #7957 +/- ##
============================================
Coverage 82.74% 82.74%
============================================
Files 103 103
Lines 17701 17703 +2
============================================
+ Hits 14647 14649 +2
Misses 3054 3054
Continue to review full report at Codecov.
|
@gpucibot merge |
Backporting a fix from
0.20
: 8dc1559Also pinning max pandas version to
1.2.4
.