category axes are currently not sliceable (see reduce algorithm), because slicing didn't seem to make sense for category axes.
However,
scikit-hep/boost-histogram#296
suggests that also category axis should be sliceable, and eventually one should be able to pick individual bin indices as well. Perhaps using the keyword pick(index1, index2, ...) as suggested by @henryiii
category axes are currently not sliceable (see reduce algorithm), because slicing didn't seem to make sense for category axes.
However,
scikit-hep/boost-histogram#296
suggests that also category axis should be sliceable, and eventually one should be able to pick individual bin indices as well. Perhaps using the keyword
pick(index1, index2, ...)as suggested by @henryiii