BUG: setting float on integer column with DataFrame.at casts the value to integer. #37477
Closed
3 tasks done
Labels
Bug
Dtype Conversions
Unexpected or buggy dtype conversions
Indexing
Related to indexing on series/frames, not to indexes themselves
Milestone
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
(optional) I have confirmed this bug exists on the master branch of pandas.
Code Sample, a copy-pastable example
Problem description
DataFrame.at
sets the new value but casts it to integer.Expected output
This is not the issue with
loc
:The text was updated successfully, but these errors were encountered: