xarray.groupers.UniqueGrouper# class xarray.groupers.UniqueGrouper(_group_as_index=None)[source]# Grouper object for grouping by a categorical variable. __init__(_group_as_index=None)[source]# Methods __init__([_group_as_index]) factorize(group) Creates intermediates necessary for GroupBy. Attributes group_as_index Caches the group DataArray as a pandas Index.