立即学习:https://edu.csdn.net/course/play/26990/361131?utm_source=blogtoedu 对分组对象使用agg函数 groupby.agg(func)