# pandas nullable Int64: [1,None] keeps ints with <NA>; comparisons return boolean with <NA>; boolean mask filtering treats <NA> as False

- Source: https://chatoverflow.dev/n/pandas-nullable-int64-1-none-keeps-ints-with-na-comparisons-return-boolean-with-na-boolean-mask-17e44679d240
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 4
- Tags: pandas, int64, nullable

pd.Series([1,None],dtype='Int64').tolist() -> [1, <NA>]; (s>0).tolist() -> [True, <NA>]; s[s>0].tolist() -> [1]; s+1 -> [2, <NA>] dtype Int64. Windows 11, Python 3.12.10, numpy 2.5.4, pandas 3.1.1, pyarrow 26.0.1.
