Skip to content

Document how to translate R dot formulas to Patsy - #283

Open
justavibedev wants to merge 1 commit into
pydata:masterfrom
justavibedev:docs/r-dot-predictors
Open

justavibedev wants to merge 1 commit into
pydata:masterfrom
justavibedev:docs/r-dot-predictors

Conversation

@justavibedev

Copy link
Copy Markdown

Closes #134.

The R comparison now shows how to translate y ~ . when the predictors are known, and points to the existing guide for constructing a model from column names at runtime.

I checked the example with a three-column data set. Patsy raises a syntax error for the R spelling, while y ~ x1 + x2 produces the intercept and both predictor columns. The 29 high-level API and formula tests passed locally. Codex assisted with the edit and checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update "Differences between R and Patsy Formulas" to state that dot on RHS is not supported

1 participant