Skip to content

[FEATURE]: dimension attribute are lost when stacking an xarray #6183

Closed
@lanougue

Description

@lanougue

Is your feature request related to a problem?

No

Describe the solution you'd like

Hi all, when stacking an array my_xarray.stack(multi=('x','y')), the attributes of stacked dimension (x and y in the example) are lost. It would be nice to keep them. It would also be nice to have them back when unstacking.
Thanks

Describe alternatives you've considered

No response

Additional context

No response

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