Python pandas—Grouping Exercise—Alcohol Consumption
Sometimes we learn best by doing. Unlike my other videos, I’ll be going through these exercises cold. Sometimes we’ll encounter ambiguous questions, and sometimes I’ll be wrong. Learning from our mistakes can be a powerful teacher. So, it’s OK to be wrong now, because we’ll know how to avoid it next time when it counts. My hope is that you will learn by doing. Why don’t you proceed through the linked exercises before we walk through them together? This series can be viewed in tandem with my “An Opinionated Guide to pandas“ video series (links below), but it’s not required. This series is beginner-friendly but aimed most directly at intermediate users.
This Learning by Doing is part of the pandas indexing and selecting:
Here’s a link to the Grouping — Alcohol Consumption: https://github.com/guipsamora/pandas_exercises/tree/master/04_Apply/Students_Alcohol_Consumption