Quantco/polarify
Simplifying conditional Polars Expressions with Python 🐍 🐻❄️
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.
Stars
138
Forks
3
Language
Python
License
BSD-3-Clause
Category
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.
Related frameworks
feature-engine/feature_engine
Feature engineering and selection open-source Python library compatible with sklearn.
alteryx/featuretools
An open source python library for automated feature engineering
cod3licious/autofeat
Linear Prediction Model with Automated Feature Engineering and Selection Capabilities
abess-team/abess
Fast Best-Subset Selection Library
rodrigo-arenas/Sklearn-genetic-opt
ML hyperparameters tuning and features selection, using evolutionary algorithms.