Skip to content

Support for set_xindex? #218

Closed
Closed
@vasilisniaouris

Description

@vasilisniaouris

The set_xindex methods of DataArray and Dataset drop the units. Is there a way to add a pint.set_xindex functionality?

Edit:

I realized that I can not seem to initialize a dataarray with Quantity objects as dimensions to begin with. The dimensions objects always drop the units. I tried to create a pint set_xindex myself, but that was the bottleneck I run into. Am I doing something wrong, or quantity Indexes are indeed not supported in general?

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