BUG: isin() with missing values does not work in 1.3.0 with extension dtypes #42405
Labels
isin
isin method
NA - MaskedArrays
Related to pd.NA and nullable extension arrays
Regression
Functionality that used to work in a prior pandas version
Milestone
This bug is not present in Pandas < 1.3.0.
In 1.3.0, calling
Series.isin()
will fail ifSeries
dtype
is an extension dtype (pd.Float64Dtype()
,pd.Int64Dtype()
, ...)Series
contains any 'missing' values (numpy.nan
,pd.na
)The following code snippet tests a few
dtypes
, determining if each of them supportsisin
with missing values:The output is:
The text was updated successfully, but these errors were encountered: