Open
Description
extract from #32075 (comment)
If we want to handle pd.NA in object dtype better, we will need to start using masks as well, and not rely on numpy behaviour.
For example, also this is wrong:
In [9]: pd.Series([1, pd.NA], dtype=object) >= 1
Out[9]:
0 True
1 False
dtype: bool
Related issues:
- Series.replace fails to replace value #32075 (replace not working)
- BUG: truncated repr with pd.NA in object dtype column shows "NaN" #33065 (wrong truncated repr)
- BUG: pd.NA acts differently when inside/outside a series/dataframe with object dtype #33066 (wrong comparison operations)
- BUG: Cannot index into DataFrame with Nullable Integer as index #34497 (indexing with duplicates)