Section 2. Chapter 2
single
Challenge: group_by & Aggregations
Swipe to show menu
Task
Swipe to start coding
Your task is to implement a function named aggregate_publishers_stats. This function must group the games by their Publishers and compute two metrics for each studio:
-
The mean (average) value of the
Pricecolumn, aliased asAverage Price. -
The sum (total) value of the
Positivecolumn, aliased asTotal Positive Reviews.
Solution
Everything was clear?
Thanks for your feedback!
Section 2. Chapter 2
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat