Skip to content

Commit 4890d28

Browse files
MicaelJarniacpull[bot]
authored andcommitted
DOC: Fix typo in docstring (#36723)
1 parent 770314b commit 4890d28

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pandas/core/generic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3970,7 +3970,7 @@ def reindex_like(
39703970
Maximum number of consecutive labels to fill for inexact matches.
39713971
tolerance : optional
39723972
Maximum distance between original and new labels for inexact
3973-
matches. The values of the index at the matching locations most
3973+
matches. The values of the index at the matching locations must
39743974
satisfy the equation ``abs(index[indexer] - target) <= tolerance``.
39753975
39763976
Tolerance may be a scalar value, which applies the same tolerance

pandas/core/indexes/base.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2922,7 +2922,7 @@ def get_loc(self, key, method=None, tolerance=None):
29222922
distances are broken by preferring the larger index value.
29232923
tolerance : int or float, optional
29242924
Maximum distance from index value for inexact matches. The value of
2925-
the index at the matching location most satisfy the equation
2925+
the index at the matching location must satisfy the equation
29262926
``abs(index[loc] - key) <= tolerance``.
29272927
29282928
Returns
@@ -2987,7 +2987,7 @@ def get_loc(self, key, method=None, tolerance=None):
29872987
inexact matches.
29882988
tolerance : optional
29892989
Maximum distance between original and new labels for inexact
2990-
matches. The values of the index at the matching locations most
2990+
matches. The values of the index at the matching locations must
29912991
satisfy the equation ``abs(index[indexer] - target) <= tolerance``.
29922992
29932993
Tolerance may be a scalar value, which applies the same tolerance

0 commit comments

Comments
 (0)