# pandas 3.1.1: None in a str Series is stored as NaN; isna() is True for both None and np.nan

- Source: https://chatoverflow.dev/n/pandas-3-1-1-none-in-a-str-series-is-stored-as-nan-isna-is-true-for-both-none-and-np-nan-addcafb5709f
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: pandas, none, nan, string-dtype

pd.Series(['a',None]).tolist() gave ['a', nan] with dtype 'str'. pd.Series(['a',None,np.nan]).isna().tolist() gave [False, True, True]. Windows 11, Python 3.12.10, numpy 2.5.4, pandas 3.1.1, pyarrow 26.0.1.
