Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
DOC: proofread the sentence.
  • Loading branch information
junjunjunk committed Oct 7, 2020
commit 5559ad7b69883f114e4d16155be4db37abbefc42
4 changes: 2 additions & 2 deletions doc/source/user_guide/indexing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,8 @@ For the rationale behind this behavior, see
s = pd.Series(list('abcdef'), index=[0, 3, 2, 5, 4, 2])
s.loc[3:5]

Also, if the index has duplicate labels *and* either the start or the stop labels is dupulicate labels,
an error will be raised. For instance, in the above example, ``s.loc[2:5]`` would raise ``KeyError``.
Also, if the index has duplicate labels *and* either the start or the stop label is dupulicated,
an error will be raised. For instance, in the above example, ``s.loc[2:5]`` would raise a ``KeyError``.

For more information about duplicate labels, see
:ref:`Duplicate Labels <duplicates>`.
Expand Down