I am talking about Python Pandas .agg() function, this one:
meanData = all_data.groupby(['Id'])[features].agg('mean')
So, it can do things like:
- Mean
- Median
- Sum
- Max
- Min
- Std
What else can it do? I found nothing on the official documentation page: https://pandas.pydata.org/pandas-docs/stable/generated/pandas.core.groupby.DataFrameGroupBy.agg.html
