Skip to content

Commit 008afb5

Browse files
pmhatre1lithomas1
andauthored
Updated the indexing.rst for Issue 58583 (#58607)
* Adding check on integer value of periods issue#56607 * Adding check on integer value of the periods issue#56607 * Adding check on integer value of the periods issue#56607 * Added validation check to Series.diff,updated testcase and whatsnew * Updated whatsnew * Updated whatsnew * Update doc/source/whatsnew/v2.3.0.rst Co-authored-by: Thomas Li <[email protected]> * Updated whatsnew with new comment * Update doc/source/whatsnew/v2.3.0.rst Co-authored-by: Thomas Li <[email protected]> * Update doc/source/whatsnew/v2.3.0.rst Co-authored-by: Thomas Li <[email protected]> * Updated the Documentation for Slicing with labels for .loc() --------- Co-authored-by: Thomas Li <[email protected]>
1 parent 6dfedda commit 008afb5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/source/user_guide/indexing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -403,9 +403,9 @@ are returned:
403403
s = pd.Series(list('abcde'), index=[0, 3, 2, 5, 4])
404404
s.loc[3:5]
405405
406-
If at least one of the two is absent, but the index is sorted, and can be
407-
compared against start and stop labels, then slicing will still work as
408-
expected, by selecting labels which *rank* between the two:
406+
If the index is sorted, and can be compared against start and stop labels,
407+
then slicing will still work as expected, by selecting labels which *rank*
408+
between the two:
409409

410410
.. ipython:: python
411411

0 commit comments

Comments
 (0)