BUG: pd.to_numeric does not copy _mask for ExtensionArrays #38974
Labels
Bug
Missing-data
np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
NA - MaskedArrays
Related to pd.NA and nullable extension arrays
Milestone
In #38746 while implementing
to_numeric
for ExtensionArrays I do not copy the mask of the original input. This means that the (potentially) cast array shares a mask with the input. We should copy the mask.Thanks @jorisvandenbossche for pointing this out!
The text was updated successfully, but these errors were encountered: