Getting Started with Python Polars
This chapter will look at the fundamentals of Python Polars. We will learn some of the key features of Polars at a high level in order to understand why Polars is fast and efficient for processing data. We will also cover how to apply basic operations on DataFrame, Series, and LazyFrame utilizing Polars expressions. These are all essential bits of knowledge and techniques to start utilizing Polars in your data workflows.
This chapter contains the following recipes:
- Introducing key features in Polars
- The Polars DataFrame
- Polars Series
- The Polars LazyFrame
- Selecting columns and filtering data
- Creating, modifying, and deleting columns
- Understanding method chaining
- Processing larger-than-RAM datasets
After going through all of these, you’ll have a good understanding of what makes Polars unique, as well as how to apply essential data operations in Polars.