Skip to content

Commit 7dfd698

Browse files
author
Jiang Yue
committed
update whatsnew code display
1 parent 81ebfda commit 7dfd698

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/source/whatsnew/v0.25.0.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -97,18 +97,18 @@ would be reassigned as -1. (:issue:`19387`)
9797

9898
.. code-block:: ipython
9999
100-
MultiIndex(levels=[[nan, None, NaT, 128, 2]],
101-
codes=[[0, -1, 1, 2, 3, 4]])
102-
MultiIndex(levels=[[1, 2]],
103-
codes=[[0, -2]])
100+
Out[1]: MultiIndex(levels=[[nan, None, NaT, 128, 2]],
101+
codes=[[0, -1, 1, 2, 3, 4]])
102+
Out[2]: MultiIndex(levels=[[1, 2]],
103+
codes=[[0, -2]])
104104
105105
*New Behavior*:
106106

107-
.. ipython:: python
107+
.. ipython:: ipython
108108

109-
MultiIndex(levels=[[nan, None, NaT, 128, 2]],
109+
Out[1]: MultiIndex(levels=[[nan, None, NaT, 128, 2]],
110110
codes=[[-1, -1, -1, -1, 3, 4]])
111-
ValueError: On level 0, code value (-2) < -1
111+
Out[2]: ValueError: On level 0, code value (-2) < -1
112112

113113

114114
.. _whatsnew_0250.api_breaking.groupby_apply_first_group_once:

0 commit comments

Comments
 (0)