
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.Training 2 or more people?
Get your team access to the full DataCamp platform, including all the features.- 1
Creating DataFrames and Selecting Data
FreeIn 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.
Introduction to the Polars DataFrame50 xpLoad a CSV into a DataFrame100 xpInspect a DataFrame100 xpSubsetting a DataFrame50 xpCreating a Series from a DataFrame100 xpSubsetting a DataFrame with bracket notation100 xpSelect a subset of columns with .select()100 xpSorting and summarizing a DataFrame50 xpSorting the EV data100 xpSummarizing a DataFrame100 xpExtreme values in a DataFrame100 xp - 2
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.
Transforming columns50 xpTransforming Data with an Expression100 xpAggregating a column100 xpTransforming Data100 xpAdding columns50 xpAdding a new column100 xpUsing a Dtype-specific Expression100 xpRenaming and dropping columns100 xpWorking with multiple columns50 xpTransforming Multiple Columns100 xpCreating new columns with a suffix100 xpCombining selectors100 xpIntroducing lazy mode50 xpCreating a Lazy Query100 xpWhat drives EV prices?100 xp - 3
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.
Filtering rows50 xpFiltering with a single condition100 xpCombining multiple filter conditions100 xpNegating a predicate100 xpHandling missing and duplicate values50 xpFinding and dropping missing values100 xpReplacing missing values100 xpDropping duplicate values100 xpGrouped aggregations50 xpCounting values100 xpGroup-by aggregation100 xpMultiple Aggregations on a Column100 xpPivoting and unpivoting50 xpPivoting a DataFrame100 xpUnpivoting Data from Wide to Long Format100 xpWrapping up50 xp
Training 2 or more people?
Get your team access to the full DataCamp platform, including all the features.collaborators


prerequisites
Intermediate PythonSenior 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.
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.