xarray.core.groupby.DatasetGroupBy.groups#

property DatasetGroupBy.groups#

Mapping from group labels to indices.

The indices can be used to index the underlying object.