Skip to content

Preserve dimensions in stack, vcat #161

@jariji

Description

@jariji

I want to preserve dimensions.

julia> let
           ka = KeyedArray(
               rand(4,3);
               a=[1,2,1,2],
               b=1:3,
           )
           stack([ka, ka])
       end
4×3×2 Array{Float64, 3}:
[:, :, 1] =
 0.157501  0.15453   0.236119
 0.62595   0.142494  0.503847
 0.646891  0.829133  0.323376
 0.487593  0.930134  0.338322

[:, :, 2] =
 0.157501  0.15453   0.236119
 0.62595   0.142494  0.503847
 0.646891  0.829133  0.323376
 0.487593  0.930134  0.338322

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions