Module 3: Lesson 4


Introduction to Pandas

The final lesson in this module introduces the Pandas module. The Pandas module introduces two powerful data structures into your arsenal: the Series and the DataFrame. In this lesson, you will learn about these two data structures and specifically how to use them to hold, access, and operate on data.

Objectives

By the end of this lesson, you will understand

  • the basic components in the Pandas library,
  • how to create and manipulate a Series and a DataFrame,
  • how to select data from a DataFrame by row, column, or both rows and columns, and
  • how to manipulate large data sets by column labels.

Time Estimate

Approximately 2 hours.

Activities

Video: Watch the introduction to Pandas video, which will demonstrate how to work effectively with this powerful data structure.

Notebook: Read and complete the practice exercises in the Introduction to 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.