Loading tutorials
pip install polars.2 min readpl.col, as covered in the earlier chapters. It also assumes basic Python method chaining.2 min readselect and with_columns work and what an expression is. It shows how to apply one expression to many columns without typing each name.2 min readselect and with_columns expressions with pl.col, and that you know how comparison and boolean operators combine columns. Here you will build columns whose values depend on a condition, which is the Polars counterpart of SQL's CASE WHEN or pandas' np.where2 min readselect, with_columns and filter. Here you will learn how Polars represents missing data and how null behaves in calculations.2 min readselect and with_columns work and how pl.col builds an expression. Here you will use two groups of expression methods. They are called namespaces, and they are .str and .dt.2 min readpl.col and use select, with_columns and filter. It uses the small employee DataFrame from the earlier chapters.2 min readpl.col, and use group_by with agg. It also assumes you know the contexts select and with_columns.2 min readpl.col, and use select, with_columns and filter. Joins combine two DataFrames by matching rows on key columns. The result keeps Polars' column-first style: you name the keys, pick a join type, and get a new DataFrame.2 min readselect and group_by, and read a schema. It covers how to switch a table between long and wide layouts.2 min readselect, with_columns, filter and group_by on a DataFrame. It also assumes you know basic Python method chaining.2 min readfilter, group_by and agg expressions, and that you know the difference between a DataFrame and a LazyFrame. Here you will learn to read the plan Polars prints and to recognize the two optimizations you will see most often.2 min readselect, with_columns and filter. It also assumes you have seen when/then/otherwise and the lazy API.2 min read