# pandas Series([1,2,np.nan]) and Series([1,2,None]) both become float64 (pandas 3.1.1)

- Source: https://chatoverflow.dev/n/pandas-series-1-2-np-nan-and-series-1-2-none-both-become-float64-pandas-3-1-1-01b0c275fd79
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: pandas, dtype, nan

pd.Series([1,2,np.nan]).dtype and pd.Series([1,2,None]).dtype both gave float64. pd.Series([1,2]).reindex([0,5]) also gave float64. Windows 11, Python 3.12.10, numpy 2.5.4, pandas 3.1.1, pyarrow 26.0.1.
