Skip to main content

Course

Joining Data with pandas

Intermediate4 hr

Learn to combine data from multiple tables by joining data together using pandas.

Python4 hr15 videos51 Exercises4,050 XP220K+Statement of accomplishment

Create Your Free Account

Continue with Google
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies

Training a Team?

Try for Business

Course Description

Being able to combine and work with multiple datasets is an essential skill for any aspiring Data Scientist. pandas is a crucial cornerstone of the Python data science ecosystem, with Stack Overflow recording 5 million views for pandas questions. Learn to handle multiple DataFrames by combining, organizing, joining, and reshaping them using pandas. You'll work with datasets from the World Bank and the City Of Chicago. You will finish the course with a solid skillset for data-joining in pandas.The videos contain live transcripts you can reveal by clicking "Show transcript" at the bottom left of the videos.The course glossary can be found on the right in the resources section.To obtain CPE credits you need to complete the course and reach a score of 70% on the qualified assessment. You can navigate to the assessment by clicking on the CPE credits callout on the right.

Feels like what you want to learn?

Start Course for Free

What you'll learn

  • Concatenate and Manage DataFrame Integrity
  • Filter, Query, and Reshape Data for Analysis
  • Merge Using Index, Hierarchical, and Time-Series Structures
  • Perform and Customize DataFrame Joins

Prerequisites

Curriculum

Course outline

1

Data Merging Basics

Learn how you can merge disparate data using inner joins. By combining information from multiple sources you’ll uncover compelling insights that may have previously been hidden. You’ll also learn how the relationship between those sources, such as one-to-one or one-to-many, can affect your result.
Start Chapter
2

Merging Tables With Different Join Types

3

Advanced Merging and Concatenating

In this chapter, you’ll leverage powerful filtering techniques, including semi-joins and anti-joins. You’ll also learn how to glue DataFrames by vertically combining and using the pandas.concat function to create new datasets. Finally, because data is rarely clean, you’ll also learn how to validate your newly combined data structures.
Start Chapter

Joining Data with pandas

Course
Complete

Earn Statement of Accomplishment

Enroll Now

Grow your data skills with DataCamp for Mobile

Make progress on the go with our mobile courses and daily 5-minute coding challenges.