screen link: https://app.dataquest.io/m/343/data-aggregation/9/introduction-to-the-agg-method
Could somebody explain why we use numpy.mean and numpy.max in Groupby.agg() instead of “max” and “min”?
and What is the difference?
Thank you very much beforehand!
1 Like
They both will do the same work.
Accepted Combinations are:
- string function name
- function
- list of functions
- dict of column names -> functions (or list of functions)
Read more here
More Resources
1 Like
Thank you very much again!
1 Like