gb = df.groupby('ZZ')
[gb.get_group(x) for x in gb.groups]
More Related Contents:
- How can I pivot a dataframe?
- How do I create a new column from the output of pandas groupby().sum()?
- GroupBy pandas DataFrame and select most common value
- How to groupby consecutive values in pandas DataFrame
- pandas GroupBy columns with NaN (missing) values
- Count unique values per groups with Pandas [duplicate]
- pandas groupby sort within groups
- Pandas ‘count(distinct)’ equivalent
- Pandas Groupby Range of Values
- Count unique values using pandas groupby
- pandas groupby, then sort within groups
- Pandas GroupBy and select rows with the minimum value in a specific column
- group by in group by and average
- Pandas interpolate within a groupby
- Pandas: resample timeseries with groupby
- pandas – find first occurrence
- python pandas groupby() result
- Sample each group after pandas groupby
- Pandas groupby for zero values
- Pivot Tables of Counts in Pandas DataFrame
- Pandas groupby with categories with redundant nan
- Pandas Correlation Groupby
- Add a sequence number to each element in a group using python
- Pandas aggregate count distinct
- Is there an “ungroup by” operation opposite to .groupby in pandas?
- Pandas groupby with bin counts
- get first and last values in a groupby
- Pandas groupby and qcut
- how to convert monthly data to quarterly in pandas
- How to get number of groups in a groupby object in pandas?