File tree 2 files changed +12
-1
lines changed
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
82
82
-i " pandas.DataFrame.var PR01,RT03,SA01" \
83
83
-i " pandas.Grouper PR02" \
84
84
-i " pandas.Index PR07" \
85
- -i " pandas.Index.get_loc PR07,RT03,SA01" \
86
85
-i " pandas.Index.join PR07,RT03,SA01" \
87
86
-i " pandas.Index.names GL08" \
88
87
-i " pandas.Index.ravel PR01,RT03" \
Original file line number Diff line number Diff line change @@ -3490,10 +3490,22 @@ def get_loc(self, key):
3490
3490
Parameters
3491
3491
----------
3492
3492
key : label
3493
+ The key to check its location if it is present in the index.
3493
3494
3494
3495
Returns
3495
3496
-------
3496
3497
int if unique index, slice if monotonic index, else mask
3498
+ Integer location, slice or boolean mask.
3499
+
3500
+ See Also
3501
+ --------
3502
+ Index.get_slice_bound : Calculate slice bound that corresponds to
3503
+ given label.
3504
+ Index.get_indexer : Computes indexer and mask for new index given
3505
+ the current index.
3506
+ Index.get_non_unique : Returns indexer and masks for new index given
3507
+ the current index.
3508
+ Index.get_indexer_for : Returns an indexer even when non-unique.
3497
3509
3498
3510
Examples
3499
3511
--------
You can’t perform that action at this time.
0 commit comments