Sorting Data in Python With Pandas
Darren Jones
26:37
Description
Learning pandas sort methods is a great way to start with or practice doing basic data analysis using Python. Most commonly, data analysis is done with spreadsheets, SQL, or pandas. One of the great things about using pandas is that it can handle a large amount of data and offers highly performant data manipulation capabilities.
In this video course, you’ll learn how to use .sort_values() and .sort_index(), which will enable you to sort data efficiently in a DataFrame.
By the end of this video course, you’ll know how to:
What You'll Learn?
- Sort a pandas DataFrame by the values of one or more columns
- Use the
ascending
parameter to change the sort order - Sort a DataFrame by its
index
using.sort_index()
- Organize missing data while sorting values
- Sort a DataFrame in-place using
inplace
set toTrue
More details
User Reviews
Rating
Darren Jones
Instructor's CoursesDarren is an avid Pythonista and creates video tutorials for Real Python. Having followed a varied career as a nuclear industry instrumentation engineer, a musician, recording engineer and teacher, he’s always been interested in computers, spending the last 20 years producing music with them and teaching music technology. He’s written books on the subject, and spends the remainder of his time improving his Python skills, with a view to bringing them into the studio and classroom for better understanding of both music and programming.

Real Python
View courses Real Python- language english
- Training sessions 9
- duration 26:37
- Release Date 2023/01/05