(categories=None, ordered=None)
return impl
Implementation of constructor for pandas CategoricalDtype.
Implementation of constructor for pandas CategoricalDtype.
Implementation of constructor for pandas CategoricalDtype .
def _CategoricalDtype(categories=None, ordered=None):
    """
    Implementation of constructor for pandas CategoricalDtype.
    """
    if isinstance(ordered, types.Literal):
        ordered_const = ordered.literal_value
    else:
        ordered_const = ordered

    def impl(categories=None, ordered=None):
        return _CategoricalDtype_intrinsic(categories, ordered_const)
    return impl
def _CategoricalDtype ( categories = None , ordered = None ) : if isinstance ( ordered , types . Literal ) : ordered_const = ordered . literal_value else : ordered_const = ordered def impl ( categories = None , ordered = None ) : return _CategoricalDtype_intrinsic ( categories , ordered_const ) return impl