Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

DataCamp

Introduction to Polars

via DataCamp

Overview

DataCamp Flash Sale:
50% Off - Build Data and AI Skills!
Grab it
Learn how to efficiently transform, clean, and analyze data using Polars, a Python library for fast data manipulation.

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.

Syllabus

  • Creating DataFrames and Selecting Data
    • 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.
  • Transforming Data with Expressions
    • Next up, you'll learn how to transform data with expressions, how to add or update columns in a DataFrame, how to work with multiple columns and get an introduction to lazy mode and query optimization.
  • Analyzing Data
    • In the final chapter, you'll learn how to filter a DataFrame to get a subset of rows, how to handle missing or duplicated values, grouping by one or more columns and converting a DataFrame between long and wide formats.

Taught by

Liam Brannigan

Reviews

Start your review of Introduction to Polars

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.