matthewwardrop / formulaic

A high-performance implementation of Wilkinson formulas for Python.
MIT License
346 stars 25 forks source link

Escaped variables and functions #151

Closed bashtage closed 1 year ago

bashtage commented 1 year ago

I believe that in some earlier versions that combinations of escaped variables and functions worked. For example

formula = "y ~ 1 + np.exp(`x 1`)"

This does not work on the latest formulaic. Do you know if this is expected? Or is it an unintentional regression?

matthewwardrop commented 1 year ago

That is indeed a regression (apologies for the delay... life has been hectic). Will patch in the next release.

bashtage commented 1 year ago

Thanks for the quick fix.

matthewwardrop commented 1 year ago

You're welcome! This is now published in 0.6.5 :).