Skip to content

UxDataset.__setitem__ #344

Description

@erogluorhan

Should it not be

if isinstance(value, ux.DataArray): # or something
    value = value.to_dataarray()
super().__setitem__(key, value)

i.e. pass a standard DataArray to the superclass Dataset?

Originally posted by @dcherian in #216 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions