Skip to content

Deprecate Group without Axis and maybe Group with str Axis #1186

Description

@gdementen

The only use case I know of for Groups without axis is to define "generic" positional groups:

FIRST = IGroup(0)
SECOND = IGroup(1)
LAST = IGroup(-1)

but that's not a good enough reason for the added complexity IMO. Nobody ever used that I think (nobody instantiates the groups classes manually I think).

Concerning Group(key, axis='mystr'), I am unclear if there is any real use case we would break. I don't think so but I would like to just try deprecating any non Axis and see how it goes with our test suite.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions