pandas.core.groupby.GroupBy.__iter__

GroupBy.__iter__()[source]

Groupby iterator.

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