Skip to content

Add pick command for reduce #275

Description

@HDembinski

Copied from #267:

scikit-hep/boost-histogram#296
suggests that one should be able to pick individual bin indices from a category axis. The suggested command is pick(index1, index2, ...), as suggested by @henryiii

The idea is good, but the implementation cost is not negligible. pick would only work for unordered axes like category. A new kind of reduce constructor must be defined and a corresponding reduce implementation must be written.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions