Skip to content

Commit 07edc87

Browse files
committed
Fix code blocks in doc
1 parent 58cefd6 commit 07edc87

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/source/whatsnew/v1.1.0.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ Using :meth:`DataFrame.groupby` with ``as_index=False`` and the function ``idxma
635635
apply and applymap on ``DataFrame`` evaluates first row/column only once
636636
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
637637

638-
.. ipython:: python
638+
.. code-block:: ipython
639639
640640
In [1]: import pandas as pd
641641
...: df = pd.DataFrame({'a': [1, 2], 'b': [3, 6]})
@@ -655,7 +655,7 @@ apply and applymap on ``DataFrame`` evaluates first row/column only once
655655
656656
*Previous behavior*:
657657

658-
.. ipython:: python
658+
.. code-block:: ipython
659659
660660
In [4]: df.apply(func, axis=1)
661661
a 1
@@ -674,7 +674,7 @@ apply and applymap on ``DataFrame`` evaluates first row/column only once
674674
675675
*New behavior*:
676676

677-
.. ipython:: python
677+
.. code-block:: ipython
678678
679679
In [4]: df.apply(func, axis=1)
680680
a 1

0 commit comments

Comments
 (0)