Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Duke University

Pandas for Data Science

Duke University via Coursera

Overview

How can you effectively use Python to clean, sort, and store data? What are the benefits of using the Pandas library for data science? What best practices can data scientists leverage to better work with multiple types of datasets? In the third course of Data Science Python Foundations Specialization from Duke University, Python users will learn about how Pandas — a common library in Python used for data science — can ease their workflow. We recommend you should take this course after the first two courses of the specialization. However, if you hold a prerequisite knowledge of basic algebra, Python programming, and NumPy, you should be able to complete the material in this course. In the first week, we’ll discuss Python file concepts, including the programming syntax that allows you to read and write to a file. Then in the following weeks, we’ll transition into discussing Pandas more specifically and the pros and cons of using this library for specific data projects. By the end of this course, you should be able to know when to use Pandas, how to load and clean data in Pandas, and how to use Pandas for data manipulation. This will prepare you to take the next step in your data scientist journey using Python; creating larger software programs.

Syllabus

  • Week 1: Pandas for Data Science
    • This week, you will learn how to read data from files into your python program, and write that corresponding data to a file. We’ll be working primarily with string-type data in this unit and will give special attention to the way that python handles strings. Additionally we’ll go over some basic debugging in python using exception traces, and you’ll leverage these to create your own python program that is capable of reading and writing to a file.
  • Week 2: Tabular Data with Pandas
    • This Week, you’ll learn how to begin to utilize Pandas, one of the most commonly used libraries in Data Science with python. Pandas is predominantly used for working with tabular data. By the end of this week you’ll be able to identify the hallmarks and quirks of working with tabular data, describe the benefits and limitations of using Pandas, and be able to perform some basic data manipulation techniques in Pandas.
  • Week 3: Loading and Cleaning Data
    • This week, you will learn how to perform basic file operations in Pandas, as well as how to clean up large datasets. You’ll learn to read and write from common tabular file formats, and Pandas-specific intricacies for working with that data. Additionally, you’ll learn best practices for cleaning your data.
  • Week 4: Data Manipulation
    • This week you will learn how to combine datasets from different sources. Pandas has different methods of combining data depending on your preferred outcome, and you’ll be able to differentiate between when to use each kind. Additionally, we’ll go over computationally efficient ways of querying your data, which, while similar to selecting data via subsetting in its outcomes, has a distinct set of advantages.

Taught by

Genevieve M. Lipp, Nick Eubank, Kyle Bradbury, and Andrew D. Hilton

Reviews

Start your review of Pandas for Data Science

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.