BUG: df.to_dict('record') casts ints to floats #13817
Labels
Dtype Conversions
Unexpected or buggy dtype conversions
Duplicate Report
Duplicate issue or pull request
Code Sample, a copy-pastable example if possible
Expected Output
comment
Same bug for
df.to_dict("index")
anddf.to_dict("split")
, but not for the rest. If all data is integer, the function works properly.output of
pd.show_versions()
The text was updated successfully, but these errors were encountered: