Chapter 1
Implement Data Structures Using the Collections Module
Section 4
Defaultdict
Use a grouping object and defaultdict to aggregate data.