File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -635,7 +635,7 @@ Using :meth:`DataFrame.groupby` with ``as_index=False`` and the function ``idxma
635
635
apply and applymap on ``DataFrame `` evaluates first row/column only once
636
636
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
637
637
638
- .. ipython :: python
638
+ .. code-block :: ipython
639
639
640
640
In [1]: import pandas as pd
641
641
...: df = pd.DataFrame({'a': [1, 2], 'b': [3, 6]})
@@ -655,7 +655,7 @@ apply and applymap on ``DataFrame`` evaluates first row/column only once
655
655
656
656
*Previous behavior *:
657
657
658
- .. ipython :: python
658
+ .. code-block :: ipython
659
659
660
660
In [4]: df.apply(func, axis=1)
661
661
a 1
@@ -674,7 +674,7 @@ apply and applymap on ``DataFrame`` evaluates first row/column only once
674
674
675
675
*New behavior *:
676
676
677
- .. ipython :: python
677
+ .. code-block :: ipython
678
678
679
679
In [4]: df.apply(func, axis=1)
680
680
a 1
You can’t perform that action at this time.
0 commit comments