Skip to content

Commit c529863

Browse files
committed
Fix code-block indent
1 parent 1131f71 commit c529863

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

doc/source/whatsnew/v0.20.0.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,29 +1079,29 @@ joins, :meth:`DataFrame.join` and :func:`merge`, and the ``.align`` method.
10791079

10801080
- ``Index.intersection``
10811081

1082-
.. ipython:: python
1082+
.. ipython:: python
10831083
10841084
left = pd.Index([2, 1, 0])
10851085
left
10861086
right = pd.Index([1, 2, 3])
10871087
right
10881088
1089-
Previous Behavior:
1089+
Previous Behavior:
10901090

10911091
.. code-block:: ipython
10921092
10931093
In [4]: left.intersection(right)
10941094
Out[4]: Int64Index([1, 2], dtype='int64')
10951095
1096-
New Behavior:
1096+
New Behavior:
10971097

1098-
.. ipython:: python
1098+
.. ipython:: python
10991099
11001100
left.intersection(right)
11011101
11021102
- ``DataFrame.join`` and ``pd.merge``
11031103

1104-
.. ipython:: python
1104+
.. ipython:: python
11051105
11061106
left = pd.DataFrame({'a': [20, 10, 0]}, index=[2, 1, 0])
11071107
left
@@ -1110,17 +1110,17 @@ New Behavior:
11101110
11111111
Previous Behavior:
11121112

1113-
.. code-block:: ipython
1113+
.. code-block:: ipython
11141114
11151115
In [4]: left.join(right, how='inner')
11161116
Out[4]:
11171117
a b
11181118
1 10 100
11191119
2 20 200
11201120
1121-
New Behavior:
1121+
New Behavior:
11221122

1123-
.. ipython:: python
1123+
.. ipython:: python
11241124
11251125
left.join(right, how='inner')
11261126

0 commit comments

Comments
 (0)