Pandas GroupBy Aggregation
What does this code return?
df.groupby('department')['salary'].agg(['mean', 'max', 'count'])
Sign in to answer questions and track your progress
Sign InWhat does this code return?
df.groupby('department')['salary'].agg(['mean', 'max', 'count'])
Sign in to answer questions and track your progress
Sign In