Better error message when fillna is used with NaN with category dtype #14021
Labels
Bug
Categorical
Categorical Data Type
Missing-data
np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Milestone
Code Sample, a copy-pastable example if possible
and the result is:
When trying the above with float, it works as expected (nans are "replaced" by nans).
Expected Output
output of
pd.show_versions()
The text was updated successfully, but these errors were encountered: