Skip to main content
HomePython

Course

Writing Efficient Code with pandas

IntermediateSkill Level
4.7+
47 reviews
Updated 08/2022
Learn efficient techniques in pandas to optimize your Python code.
Start Course for Free

Included withPremium or Teams

PythonProgramming4 hr14 videos45 Exercises3,500 XP20,699Statement of Accomplishment

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.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies

Course Description

The ability to efficiently work with big datasets and extract valuable information is an indispensable tool for every aspiring data scientist. When working with a small amount of data, we often don’t realize how slow code execution can be. This course will build on your knowledge of Python and the pandas library and introduce you to efficient built-in pandas functions to perform tasks faster. Pandas’ built-in functions allow you to tackle the simplest tasks, like targeting specific entries and features from the data, to the most complex tasks, like applying functions on groups of entries, much faster than Python's usual methods. By the end of this course, you will be able to apply a function to data based on a feature value, iterate through big datasets rapidly, and manipulate data belonging to different groups efficiently. You will apply these methods on a variety of real-world datasets, such as poker hands or restaurant tips.

Prerequisites

Data Manipulation with pandas
1

Selecting columns and rows efficiently

Start Chapter
2

Replacing values in a DataFrame

Start Chapter
3

Efficient iterating

Start Chapter
4

Data manipulation using .groupby()

Start Chapter
Writing Efficient Code with pandas
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review

Included withPremium or Teams

Enroll Now

Don’t just take our word for it

*4.7
from 47 reviews
81%
17%
2%
0%
0%
  • Nika
    3 days

  • Miroslav
    9 days

  • William
    12 days

  • Ella
    18 days

  • Isai
    22 days

  • Kelvin
    29 days

Nika

Miroslav

William

Join over 17 million learners and start Writing Efficient Code 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.