<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _iter_grouped(self):
 """Iterate over each element in this group"""

        for indices in self._group_indices:
            yield self._obj.isel(**{self._group_dim: indices})