1. In-Class Exercise: Data Scavenger Hunt

    Pandas Filtering

    Before we do our scavenger hunt, here's a piece of useful information you should know: you can filter rows of a Pandas dataframe using something that returns a boolean.

    For example, suppose you have a DataFrame called copdf with police officer names in a column called "name" and …

    read more