Skip to content

Commit 8a485f0

Browse files
DOC: missing colon
1 parent 6100a76 commit 8a485f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/whatsnew/v0.18.0.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ In 0.18.0, this deprecation warning is removed and these will now raise a ``Type
884884

885885
Previous Behavior:
886886

887-
.. code-block:
887+
.. code-block::
888888

889889
In [1]: s = Series([1,2,3])
890890
In [2]: s[1.0]
@@ -901,7 +901,7 @@ Previous Behavior:
901901

902902
New Behavior:
903903

904-
.. code-block:
904+
.. code-block::
905905

906906
In [4]: s[1.0]
907907
TypeError: cannot do label indexing on <class 'pandas.indexes.range.RangeIndex'> with these indexers [1.0] of <type 'float'>

0 commit comments

Comments
 (0)