Skip to content

Commit 4243d6e

Browse files
committed
Review comment
1 parent 0046ac6 commit 4243d6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/user_guide/copy_on_write.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ When the column is given by name (``loc``) and the row by position (``iloc``), y
122122
need to convert the column name to its position using :meth:`Index.get_loc` or you need
123123
to convert the row position to its index. Both variants as shown in the following snippet:
124124

125-
.. code-block:: ipython
125+
.. ipython:: python
126126
127127
In [1]: df = pd.DataFrame({"foo": [1, 2, 3], "bar": [4, 5, 6]})
128128
In [2]: df.iloc[0, df.columns.get_loc("foo")] = 100

0 commit comments

Comments
 (0)