I have a data frame df and I use several columns from it to groupby:
df
groupby
df[\'col1\',\'col2\',\'col3\',\'col4\'].groupby([\'col1\',\'co
Create a group object and call methods like below example:
grp = df.groupby(['col1', 'col2', 'col3']) grp.max() grp.mean() grp.describe()