Skip to content

How to check if an array contains categorical values? #332

Closed
@juliohm

Description

@juliohm

I used to write v isa CategoricalArray in user code to change the behavior and noticed that in the latest release of the package a view of a CategoricalArray is no longer a CategoricalArray. Is it safe to do eltype(v) <: CategoricalValue to check the condition in code? Perhaps a user function could be added to the api with this purpose?

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