pandas.core.groupby.GroupBy.__iter__

GroupBy.__iter__(self)[source]

Groupby iterator.

Returns
Generator yielding sequence of (name, subsetted object)
for each group