-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
CategoricalCategorical Data TypeCategorical Data TypeDeprecateFunctionality to remove in pandasFunctionality to remove in pandasDtype ConversionsUnexpected or buggy dtype conversionsUnexpected or buggy dtype conversions
Milestone
Description
xref #26327 (comment).
We currently allow CategoricalDtype.ordered to be None. It should just be a bool (default False).
In [8]: CategoricalDtype(categories=None, ordered=None).ordered
# None
categories can be None, which means "infer later on". But (IIRC) we don't do that for ordered.
Metadata
Metadata
Assignees
Labels
CategoricalCategorical Data TypeCategorical Data TypeDeprecateFunctionality to remove in pandasFunctionality to remove in pandasDtype ConversionsUnexpected or buggy dtype conversionsUnexpected or buggy dtype conversions