1. In-class example: talking to an API

    This is a lightly edited version of the notebook that we worked through in class on 1/22/19.

    In class, we went through how to make an API call end-to-end, to get a look at common tasks like figuring out documentation, using libraries, making HTTP requests, etc. Over the weekend, practice with this API and others (you might also try the one at read more

  2. 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