Skip to content

Such thing as a scalar Categorical? #19523

Closed
@jbrockmendel

Description

@jbrockmendel

core.ops has a check elif is_categorical_dtype(y) and not is_scalar(y):.

AFAICT the only case with is_categorical_dtype that is scalar is "category". Am I missing a non-trivial case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions