Course
Reshaping Data with pandas
Create Your Free Account
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 2 or more people?
Try DataCamp for BusinessCourse Description
Prerequisites
Data Manipulation with pandasIntroduction to Data Reshaping
Converting Between Wide and Long Format
Stacking and Unstacking DataFrames
Advanced Reshaping
Complete
Earn Statement of Accomplishment
Add this credential to your LinkedIn profile, resume, or CVShare it on social media and in your performance reviewEnroll Now
FAQs
What pandas skills should I have before starting this course?
You should be comfortable with basic pandas operations from Data Manipulation with pandas and Intermediate Python, including working with DataFrames, filtering, and grouping.
What is the difference between wide and long data formats covered in this course?
Wide format has one row per observation with variables in columns, while long format stacks variables into rows. You will learn to convert between them using pivot, melt, and wide_to_long.
What real-world datasets will I work with?
You will practice with FIFA player ratings, book reviews, and churn analysis data to reshape, stack, and unstack DataFrames in realistic scenarios.
Does this course cover handling nested JSON data?
Yes. The final chapter teaches you how to transform list-like columns and handle complex nested data, including nested JSON files, using pandas reshaping techniques.
What will I be able to do after completing this course?
You will be able to pivot, melt, stack, and unstack DataFrames, work with multi-level indexes, and reshape nested or list-like data for analysis-ready formats.
Join over 19 million learners and start Reshaping Data with pandas today!
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.Grow your data skills with DataCamp for Mobile
Make progress on the go with our mobile courses and daily 5-minute coding challenges.