larray.Axis.__getitem__
- Axis.__getitem__(key) Union[LGroup, List[Group], Tuple[Group, ...]] [source]
Return a group (list or unique element) of label(s) usable in .sum or .filter.
key is a label-based key (other axis, slice and fancy indexing are supported)
- Returns
- Group
group containing selected label(s)/position(s).
Notes
key is label-based (slice and fancy indexing are supported)