Lesson 1 of 6 in this module

9/21 in track

Aggregations & groupings

pyspark10 min

Locked lessonAggregations, windows & nested data

Aggregations & groupings

Aggregations turn many rows into a smaller report. Use groupBy and agg with countDistinct, sum, and avg, while keeping the output grain clear.