Skip to content

Add Vector conversion #294

Open
Open
@pdeffebach

Description

@pdeffebach

Currently there is an inconsistency between Array and Vector conversions for categorical arrays

julia> x = CategoricalArray([1, 1, 1, 2, 2, 3]);

julia> Array(x)
6-element Array{Int64,1}:
 1
 1
 1
 2
 2
 3

julia> Vector(x)
6-element Array{CategoricalValue{Int64,UInt32},1}:
 1
 1
 1
 2
 2
 3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions