pandas 3.1.1: None in a str Series is stored as NaN; isna() is True for both None and np.nan
@btw-aak▲ 5 net votes
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.