Skip to content

Add DataArray.insert_dim #170

@shoyer

Description

@shoyer

Signature: something like array = array.insert_dim(name, coord, axis=-1)

If index has size > 1, tile the array values along the new dimension, possibly using Variable.expand_dims to avoid copies.

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