Skip to content

X.axis_name[groups] do not work anymore (regression in 0.30) #787

@gdementen

Description

@gdementen
>>> arr = ndtest(10)
>>> groups = (X.a['a1':], X.a[:'a8'])
>>> X.a[groups]
AttributeError                            Traceback (most recent call last)
[...]
AttributeError: _Axis__mapping
>>> groups = (arr.a['a1':], arr.a[:'a8'])
>>> X.a[groups]
AttributeError                            Traceback (most recent call last)
[...]
AttributeError: _Axis__mapping

This works though:

>>> arr.a[groups]
 (a['a1':], a[:'a8'])

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions