xarray.core.groupby.DataArrayGroupBy.groups#

property DataArrayGroupBy.groups#

Mapping from group labels to indices.

The indices can be used to index the underlying object.