def __iter__(self):
        seen = set()
        for elem, group in self._mapping.iteritems():
            if elem not in seen:
                yield group
                seen.update(group)
Returns an iterator returning each of the disjoint sets as a list.
dataset/ETHPy150Open tanghaibao/jcvi/utils/grouper.py/Grouper.__iter__