Skip to content

Commit b1f9b19

Browse files
committed
link I() in quickstart to its docs
1 parent 5a94297 commit b1f9b19

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

doc/quickstart.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,16 +149,16 @@ variables:
149149
150150
dmatrix("double(Q('weird column!')) + x1", weird_data)
151151
152-
.. currentmodule:: patsy
153-
154152
Arithmetic transformations are also possible, but you'll need to
155-
"protect" them by wrapping them in ``I()``, so that Patsy knows
153+
"protect" them by wrapping them in :func:`I()`, so that Patsy knows
156154
that you really do want ``+`` to mean addition:
157155

158156
.. ipython:: python
159157
160158
dmatrix("I(x1 + x2)", data) # compare to "x1 + x2"
161159
160+
.. currentmodule:: patsy
161+
162162
Note that while Patsy goes to considerable efforts to take in data
163163
represented using different Python data types and convert them into a
164164
standard representation, all this work happens *after* any

0 commit comments

Comments
 (0)