xarray.CFTimeIndex.groupby

CFTimeIndex.groupby(self, values) → Dict[Hashable, numpy.ndarray]

Group the index labels by a given array of values.

Parameters

values (array) – Values used to determine the groups.

Returns

{group name -> group labels}

Return type

dict