formulaic icon indicating copy to clipboard operation
formulaic copied to clipboard

A high-performance implementation of Wilkinson formulas for Python.

Results 43 formulaic issues
Sort by recently updated
recently updated
newest added

Let's say we have time series data and two variables in a Pandas dataframe. Let's say we want to run a regression of some target variable $y_t$ on $x_t$ and...

enhancement

This patch adds initial support for `narwhals`. It's... patchy. You can try it out using: ``` import narwhals as nw import pandas as pd from formulaic import model_matrix df =...

If I run the README example with PyArrow input, I get pandas output: ``` import pandas as pd from formulaic import Formula import pyarrow as pa df = pa.table({ 'y':...

enhancement
question