Skip to content

Commit fa136dd

Browse files
committed
doc correction
1 parent c39453a commit fa136dd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pandas/indexes/frozen.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,12 @@ def searchsorted(self, v, side='left', sorter=None):
127127
See Also
128128
--------
129129
numpy.searchsorted : equivalent function
130-
Type: method_descriptor
131130
"""
132131

133-
# we are much more performant if we have the same
134-
# type as the indexer
132+
# we are much more performant if the searched
133+
# indexer is the same type as the array
134+
# this doesn't matter for int64, but DOES
135+
# matter for smaller int dtypes
135136
try:
136137
v = self.dtype.type(v)
137138
except:

0 commit comments

Comments
 (0)