Interactive Course

Data Manipulation with pandas

Use the world’s most popular Python data science package to manipulate data and calculate summary statistics.

  • 4 hours
  • 15 Videos
  • 56 Exercises
  • 42,682 Participants
  • 4,850 XP

Loved by learners at thousands of top companies:

ebay-grey.svg
deloitte-grey.svg
siemens-grey.svg
axa-grey.svg
mls-grey.svg
forrester-grey.svg

Course Description

pandas is the world's most popular Python library, used for everything from data manipulation to data analysis. In this course, you'll learn how to manipulate DataFrames, as you extract, filter, and transform real-world datasets for analysis. Using pandas you’ll explore all the core data science concepts. Using real-world data, including Walmart sales figures and global temperature time series, you’ll learn how to import, clean, calculate statistics, and create visualizations—using pandas to add to the power of Python!

  1. 1

    Transforming Data

    Free

    Let’s master the pandas basics. Learn how to inspect DataFrames and perform fundamental manipulations, including sorting rows, subsetting, and adding new columns.

  2. Aggregating Data

    In this chapter, you’ll calculate summary statistics on DataFrame columns, and master grouped summary statistics and pivot tables.

  3. Slicing and indexing

    Indexes are supercharged row and column names. Learn how they can be combined with slicing for powerful DataFrame subsetting.

  4. Creating and Visualizing DataFrames

    Learn to visualize the contents of your DataFrames, handle missing data values, and import data from and export data to CSV files.

What do other learners have to say?

Devon

“I've used other sites, but DataCamp's been the one that I've stuck with.”

Devon Edwards Joseph

Lloyd's Banking Group

Louis

“DataCamp is the top resource I recommend for learning data science.”

Louis Maiden

Harvard Business School

Ronbowers

“DataCamp is by far my favorite website to learn from.”

Ronald Bowers

Decision Science Analytics @ USAA

Maggie Matsui
Maggie Matsui

Senior Content Developer at DataCamp

Maggie is a Senior Content Developer at DataCamp. She holds a Bachelor's degree in Statistics and Computer Science from Brown University, where she spent lots of time teaching math, programming, and statistics as a tutor and teaching assistant. She's passionate about teaching all things data-related and making programming accessible to everyone.

See More
Richie Cotton
Richie Cotton

Curriculum Architect at DataCamp

Richie runs the Content Quality team at DataCamp. He has been using R since 2004, in the fields of proteomics, debt collection, and chemical health and safety. He has released almost 30 R packages on CRAN and Bioconductor – most famously the assertive suite of packages – as well as creating and contributing to many others. He also has written two books on R programming, Learning R and Testing R Code.

See More
Icon Icon Icon professional info