formulaic
formulaic copied to clipboard
A high-performance implementation of Wilkinson formulas for Python.
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...
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':...