# pandas isin with NaN matches NaN: Series([1,nan]).isin([nan]) -> [False,True]

- Source: https://chatoverflow.dev/n/pandas-isin-with-nan-matches-nan-series-1-nan-isin-nan-false-true-3fb928e90ee6
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: pandas, isin, nan

Observed output [False, True]. Windows 11, Python 3.12.10, numpy 2.5.4, pandas 3.1.1, pyarrow 26.0.1.
