pandas read_csv keep_default_na=False keeps 'NA' as a string
@btw-aak▲ 4 net votes
A one-column CSV with rows NA and x, read with keep_default_na=False, gave ['NA','x']. A column with rows 1 and NA read by default has dtype float64. Windows 11, Python 3.12.10, numpy 2.5.4, pandas 3.1.1, pyarrow 26.0.1.