Skip to main content
Maxim Volgin avatar

Maxim Volgin has completed

Introduction to Polars

Start course For Free
3 hr
3,600 XP
Statement of Accomplishment Badge

Loved by learners at thousands of companies


Course Description

Discover Efficient Data Manipulation with Polars

Polars is a powerful, general-purpose package for working with tabular data in Python. Designed for speed and efficiency, Polars is a great choice for everything from quick data exploration to detailed analytics. In this course, you'll learn the fundamentals of using Polars to work with your data.

Load, Explore, and Clean Your Data

You'll start by learning how to import CSV files into Polars DataFrames, summarize their contents, and select the data that matters most. Next, you’ll discover how to clean your dataset by finding and removing missing or duplicated data.

Analyze and Visualize Your Data Efficiently

Then you'll tackle more detailed data analysis as you split your data into groups and calculate statistics for each group. You’ll also practice transforming columns with Polars expressions, and see how Polars makes it easy to transform multiple columns at once. Visualization is crucial for getting insight from your data and communicating these insights to others. By the end of the course you'll be able to create clear visualizations to present insights.

Optimize with Polars Lazy Execution

A powerful feature of Polars is that it can optimize your code to boost performance. You'll learn how to enable optimization and understand how these optimizations work. With your experience from this course, you’ll be ready to use Polars for a wide range of real-world data tasks and uncover valuable insights.
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.
DataCamp for BusinessFor a bespoke solution book a demo.
  1. 1

    Creating DataFrames and Selecting Data

    Free

    In this chapter, you'll learn how to create a DataFrame from a CSV, how to inspect a DataFrame, how to select subsets of rows and columns and how to sort and summarize a DataFrame.

    Play Chapter Now
    Introduction to the Polars DataFrame
    50 xp
    Load a CSV into a DataFrame
    100 xp
    Inspect a DataFrame
    100 xp
    Subsetting a DataFrame
    50 xp
    Creating a Series from a DataFrame
    100 xp
    Subsetting a DataFrame with bracket notation
    100 xp
    Select a subset of columns with .select()
    100 xp
    Sorting and summarizing a DataFrame
    50 xp
    Sorting the EV data
    100 xp
    Summarizing a DataFrame
    100 xp
    Extreme values in a DataFrame
    100 xp
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.

datasets

Electric VehiclesMusic Streams

collaborators

Collaborator's avatar
James Chapman
Collaborator's avatar
Jasmin Ludolf

prerequisites

Intermediate Python
Liam Brannigan HeadshotLiam Brannigan

Senior Data Scientist, Polars Contributor

Liam is a dedicated data enthusiast who has led numerous projects to production as a senior data scientist. Liam is also Polars contributor who tries to ensure the project is accessible to new users.
See More

Join over 18 million learners and start Introduction to Polars 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.