For the complete documentation index, see llms.txt. This page is also available as Markdown.

Polars DataFrame library

Useful tips for the Polars DataFrame library

Use SQL queries in Polars

res = pl.SQLContext(frame=df).execute(
"""
with cte as (
  SELECT customer_id, primary_term, final_term from frame where primary_term > final_term limit 100
)
select * from cte order by primary_term desc limit 10
"""
)
res.collect()

Polars basics

Not found

Timedelta equivalent in Polars

Last updated