Group by and aggregate

Descripción

Group by column and aggregate


File Template: ❌


Prefix

df:groupby:agg


Scopes

python


Snippet de código

df_grouped = df.groupby('${1:column}').agg({'${2:col}':'${3:mean}'})$0