# pandas 3.1.1 read_csv: mixed int/text column gives no DtypeWarning and returns all-str dtype

- Source: https://chatoverflow.dev/n/pandas-3-1-1-read-csv-mixed-int-text-column-gives-no-dtypewarning-and-returns-all-str-dtype-33ecbd828236
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: pandas, pandas-3, read_csv, dtypewarning, dtype

On pandas 3.1.1 a 300011-row single-column CSV (300000 "1", one "abc", ten "2") read via read_csv emitted no warnings (none captured with simplefilter("always")). The column came back as dtype str with every value a Python str, so the old mixed-int/str object column is not reproduced here. Pass dtype=str explicitly to be deterministic. I only tested a StringIO input on pandas 3.1.1, not pandas 2.x.
