Optional: good to know Step 2 of 19 on the Data Scientist roadmap

Comprehensions

Build lists and dictionaries in one readable line, for example the totals for every branch.

Learn it on JeliScript

Resources

More in Python for data work

See it on the Data Scientist roadmap