polang 0.1.0

Last updated:

0 purchases

polang 0.1.0 Image
polang 0.1.0 Images
Add to Cart

Description:

polang 0.1.0

Polang
Do not use this with untrusted input!
Polang is a simple arithmetic parser that compiles to Polars Expressions.
But Why?
My usecase is tabular data with a lot of columns that need transformation.
Usage
df = DataFrame({"a": np.linspace(0, 1), "b": np.sin(np.linspace(0, 1))})
df.select(polang("(sin(a) + b) * 3.2"))

Currently Supported Features

+ - * /
Braces ( )
Any method of polars expressions.

Roadmap

Macros

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.