You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It was a very bad choice to decide to format tokens according to my personal taste. The result is that formulae modifies the original name of the term. See x : y and f(x= z) below. Note the spaces around : and after =.
It was a very bad choice to decide to format tokens according to my personal taste. The result is that formulae modifies the original name of the term. See
x : y
andf(x= z)
below. Note the spaces around:
and after=
.But formulae says there are two terms,
x:y
without spaces andf(x = z)
with spaces on both sides.Let's see what other formula parsing libraries do.
Patsy
Patsy also removes the space around
:
and formats the function call, removing spaces around the equal symbol.Formulaic
Formulaic removes spaces around
:
but it keeps the function call as it is.I think that Formulaic is right. Operators such as
:
can be formatted, but we should not touch function calls.The text was updated successfully, but these errors were encountered: