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

Great library @matthewwardrop! Is there a way to determine how input columns correspond to output columns in an example like this? ```python import pandas from formulaic import model_matrix df =...

```python >>> import numpy as np >>> import numpy.linalg as la >>> import pandas as pd >>> import formulaic >>> index_vals = tuple("abc") >>> level_names = list("AB") >>> n_samples =...

Hi! It appears that the `formulaic` wheel metadata is faulty for the license file. It states `License-File: LICENSE`, but the license file is located in `licenses/LICENSE`. As a result, e.g....

When Formula receives a string as input, it sorts the terms when preparing the items. This is inconsistent because none of `Structured`, `List`, or `Set` sort their terms. String formulas...

The formula grammar for patsy and formulaic are close but not 1:1. It would be great if terms like `Q('...')` could automatically be converted into `` `...` ``, etc. This...

enhancement

Motivated by #115 , this is a quick draft demonstrating a `Q` transform that replicates the behavior of the patsy `Q` function. Notes: - This syntax is not as nice...

Hi @bashtage , Persuant to #24, I did a quick draft of additional support for IV-like formula in formulaic (in addition to the multi-part formula that was already implemented). There...

I would like to be able to do something like the following. Appologies I am struggling to articulate what I want but effectively I want the following. Say I have...

enhancement

Hi @matthewwardrop, For `pyfixest`, @Wenzhi-Ding and I are [currently discussing ](https://github.com/s3alfisc/pyfixest/issues/335)to add more syntactic formula sugar. For example, the original R package comes with a custom operator for interacting variables...

As in R formulae. `.` denotes "everything else". E.g. `y ~ .` regress `y` on all other variables in a data frame. Useful in combination with `-`.

enhancement