Skip to content

Commit f8800dc

Browse files
committed
add numpy reference for searchsorted
1 parent fa136dd commit f8800dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/indexes/frozen.py

+1
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ def searchsorted(self, v, side='left', sorter=None):
133133
# indexer is the same type as the array
134134
# this doesn't matter for int64, but DOES
135135
# matter for smaller int dtypes
136+
# https://github.com/numpy/numpy/issues/5370
136137
try:
137138
v = self.dtype.type(v)
138139
except:

0 commit comments

Comments
 (0)