1 parent 5a94297 commit b1f9b19Copy full SHA for b1f9b19
1 file changed
doc/quickstart.rst
@@ -149,16 +149,16 @@ variables:
149
150
dmatrix("double(Q('weird column!')) + x1", weird_data)
151
152
-.. currentmodule:: patsy
153
-
154
Arithmetic transformations are also possible, but you'll need to
155
-"protect" them by wrapping them in ``I()``, so that Patsy knows
+"protect" them by wrapping them in :func:`I()`, so that Patsy knows
156
that you really do want ``+`` to mean addition:
157
158
.. ipython:: python
159
160
dmatrix("I(x1 + x2)", data) # compare to "x1 + x2"
161
+.. currentmodule:: patsy
+
162
Note that while Patsy goes to considerable efforts to take in data
163
represented using different Python data types and convert them into a
164
standard representation, all this work happens *after* any
0 commit comments