File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
101
101
-i " pandas.Index.names GL08" \
102
102
-i " pandas.Index.putmask PR01,RT03" \
103
103
-i " pandas.Index.ravel PR01,RT03" \
104
- -i " pandas.Index.slice_indexer PR07,RT03,SA01" \
105
104
-i " pandas.Index.str PR01,SA01" \
106
105
-i " pandas.Index.view GL08" \
107
106
-i " pandas.Int16Dtype SA01" \
Original file line number Diff line number Diff line change @@ -6342,19 +6342,26 @@ def slice_indexer(
6342
6342
end : label, default None
6343
6343
If None, defaults to the end.
6344
6344
step : int, default None
6345
+ If None, defaults to 1.
6345
6346
6346
6347
Returns
6347
6348
-------
6348
6349
slice
6350
+ A slice object.
6349
6351
6350
6352
Raises
6351
6353
------
6352
6354
KeyError : If key does not exist, or key is not unique and index is
6353
6355
not ordered.
6354
6356
6357
+ See Also
6358
+ --------
6359
+ Index.slice_locs : Computes slice locations for input labels.
6360
+ Index.get_slice_bound : Retrieves slice bound that corresponds to given label.
6361
+
6355
6362
Notes
6356
6363
-----
6357
- This function assumes that the data is sorted, so use at your own peril
6364
+ This function assumes that the data is sorted, so use at your own peril.
6358
6365
6359
6366
Examples
6360
6367
--------
You can’t perform that action at this time.
0 commit comments