see groupby pandas code example Example 1: pandas get group gp.get_group(key) Example 2: pandas print groupby grp = df.groupby['colName'] grp.describe()