Skip to content

add standard shape/dims/coords attributes #7

@delgadom

Description

@delgadom

would be great to improve our xarray feel, with features like

>>> cs = pjs.ComponentSet(a=range(5), b=list('abcd'))
>>> cs.a
<Component [0, 1, 2, 3, 4, 5]>
>>> cs.dims
('a', 'b')
>>> cs.shape
(5, 4)

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