-
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
Don't reindex an new value on setitem if the original dataframe was empty #8026
Conversation
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.
LGTM!
Co-authored-by: GALI PREM SAGAR <[email protected]>
Codecov Report
@@ Coverage Diff @@
## branch-0.19 #8026 +/- ##
============================================
Coverage 82.74% 82.74%
============================================
Files 103 103
Lines 17702 17702
============================================
Hits 14648 14648
Misses 3054 3054
Continue to review full report at Codecov.
|
This PR resolves #8023. The
pandas
compatibility patch in #7948 (and the backport to 0.19 in #7957) also needs to handle the case of assigning to an empty DataFrame.