ENH: support pd.NA in "category" dtype #47982
Labels
Categorical
Categorical Data Type
Enhancement
Missing-data
np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Feature Type
Adding new functionality to pandas
Changing existing functionality in pandas
Removing existing functionality in pandas
Problem Description
I would like to be able to use
pd.NA
for missing data in a column of dtype "category"Currently this:
converts the
pd.NA
tonp.NaN
.Feature Description
I think there should be a "category" dtype that supports
pd.NA
.Alternative Solutions
I don't think there is a current workaround
Additional Context
No response
The text was updated successfully, but these errors were encountered: