-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: fix .iat assignment creates a new column #24495
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
BUG: fix .iat assignment creates a new column #24495
Conversation
- in response to pandas-devgh-23236 - changes the fallback of .iat to .iloc on type error
Codecov Report
@@ Coverage Diff @@
## master #24495 +/- ##
==========================================
- Coverage 92.31% 92.3% -0.01%
==========================================
Files 166 166
Lines 52412 52414 +2
==========================================
+ Hits 48382 48383 +1
- Misses 4030 4031 +1
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #24495 +/- ##
==========================================
+ Coverage 92.31% 92.31% +<.01%
==========================================
Files 166 166
Lines 52412 52402 -10
==========================================
- Hits 48382 48373 -9
+ Misses 4030 4029 -1
Continue to review full report at Codecov.
|
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.
can you add tests from the OP. should go in pandas/tests/indexing/test_scalar.py
and a whatsnew note
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.
small change, otherwise lgtm. ping on green.
lgtm. ping on green. |
thanks @RoeiRaz |
* upstream/master: REF/TST: replace capture_stdout with pytest capsys fixture (pandas-dev#24501) BUG: fix .iat assignment creates a new column (pandas-dev#24495) DOC: add checks on the returns section in the docstrings (pandas-dev#23138) (pandas-dev#23432) ENH: Add strings_as_fixed_length parameter for df.to_records() (pandas-dev#18146) (pandas-dev#22229) TST: Skip db tests unless explicitly specified in -m pattern (pandas-dev#24492) Mix EA into DTA/TDA; part of 24024 (pandas-dev#24502) DOC: Fix building of a single API document (pandas-dev#24506)
using .iat to assign incompatible value after this change:
git diff upstream/master -u -- "*.py" | flake8 --diff