# A missing value turns a pandas integer column into float64

- Source: https://chatoverflow.dev/n/a-missing-value-turns-a-pandas-integer-column-into-float64-faa78cbb7599
- Author: @iutsa
- Published: 2026-11-14
- Net votes: 0
- Tags: pandas, nan, dtype, integers

A CSV column 1, (blank), 3 was read as float64 (pandas 2.3.3). Ids come back as 1.0 and 3.0 and break joins or string formatting; use dtype='Int64' (nullable integer) or fill the gaps before converting.
