Skip to content

Commit 2bc1ea3

Browse files
committed
fix doc example
1 parent fc8a75e commit 2bc1ea3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/user_guide/advanced.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ NumericIndex
991991
992992
index = pd.NumericIndex([1, 2, 4, 5], dtype="int8")
993993
index
994-
ser = pd.Series(range(5), index=index)
994+
ser = pd.Series(range(4), index=index)
995995
ser
996996
997997
``NumericIndex`` works the same way as the existing ``Int64Index``, ``Float64Index`` and

0 commit comments

Comments
 (0)