Skip to content

Commit bdb4a08

Browse files
DOC: Fix EX02 in pandas.Index.get_loc (pandas-dev#32429)
1 parent 609b8da commit bdb4a08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/indexes/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2849,7 +2849,7 @@ def get_loc(self, key, method=None, tolerance=None):
28492849
28502850
>>> non_monotonic_index = pd.Index(list('abcb'))
28512851
>>> non_monotonic_index.get_loc('b')
2852-
array([False, True, False, True], dtype=bool)
2852+
array([False, True, False, True])
28532853
"""
28542854
if method is None:
28552855
if tolerance is not None:

0 commit comments

Comments
 (0)