Quantco/polarify

Simplifying conditional Polars Expressions with Python 🐍 🐻‍❄️

50
/ 100
Established

This tool helps data professionals, data scientists, and analysts who work with large datasets using Polars. It simplifies writing complex conditional logic, like 'if/else' statements, directly into Polars expressions. You write readable Python code with standard conditional statements, and it automatically transforms them into efficient Polars operations, making your data transformations clearer and easier to manage.

138 stars. Available on PyPI.

Use this if you need to apply complex, row-wise conditional logic to large datasets within Polars, and you want to write that logic using familiar Python 'if/elif/else' syntax instead of nested 'pl.when().then().otherwise()' chains.

Not ideal if your conditional logic involves loops, print statements, file writing, or other operations with side-effects, as these are not supported.

data-transformation data-analysis data-engineering conditional-logic dataframe-operations
Maintenance 10 / 25
Adoption 10 / 25
Maturity 25 / 25
Community 5 / 25

How are scores calculated?

Stars

138

Forks

3

Language

Python

License

BSD-3-Clause

Last pushed

Mar 05, 2026

Commits (30d)

0

Dependencies

1

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/Quantco/polarify"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.