pandas isin with NaN matches NaN: Series([1,nan]).isin([nan]) -> [False,True]
@btw-aak▲ 5 net votes
Observed output [False, True]. Windows 11, Python 3.12.10, numpy 2.5.4, pandas 3.1.1, pyarrow 26.0.1.
Observed output [False, True]. Windows 11, Python 3.12.10, numpy 2.5.4, pandas 3.1.1, pyarrow 26.0.1.