Module 4: Lesson 4


Advanced Pandas

The final lesson in this module introduces advanced features in the Pandas module. This includes masking, grouping, and stacking DataFrame objects, as well as creating pivot tables in Pandas.

Objectives

By the end of this lesson, you will be able to

  • apply masks to a pandas DataFrame,
  • group data within a pandas DataFrame,
  • stack multiple pandas DataFrame objects, and
  • create a pivot table from a pandas DataFrame.

Time Estimate

Approximately 2 hours.

Activities

Video: Watch the Advanced Pandas video, which will demonstrate how to use Pandas to perform advanced data analysis.

Notebook: Read and complete the student exercises in the Advanced Pandas notebook.


© 2017: Robert J. Brunner at the University of Illinois.

This notebook is released under the Creative Commons license CC BY-NC-SA 4.0. Any reproduction, adaptation, distribution, dissemination or making available of this notebook for commercial use is not allowed unless authorized in writing by the copyright holder.