M7: Pandas

This (optional) bonus module provides an introduction to Python’s Pandas data analysis library.

Pre-recorded Lectures

The pre-recorded lectures are available through Canvas.

The lectures include a video to introduce the module and the instructor (“Meet the Instructor”) and a series of 5-20 minute videos:

  • 7.1 - Introduction to Pandas

  • 7.2 - Creating DataFrames and Series

  • 7.3 - Basics of Working with DataFrames and Series

  • 7.4 - Aggregating and Applying Functions to Data

  • 7.5 - Split/Apply/Combine

  • 7.6 - Visualization

Textbook Chapters

The chapter corresponding to this module is:

A PDF version of the textbook is also available here.

You will be asked to log in with your CNetID before you can see the textbook.

The dataset used in this chapter can be downloaded here: pandas_data.zip

Please note that the pre-recorded lectures cover largely the same material as the book. We recommend starting with the pre-recorded lectures, and then reading through the book (but do not feel bad if you find yourself skipping large portions of the textbook, if you feel they tread on material that you already understood when watching the lectures)

Programming Assignment

Programming Assignment #7