Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
doc correction
  • Loading branch information
jreback committed Apr 7, 2017
commit fa136ddcc78a24f22615332a47661a91d16d3a1e
7 changes: 4 additions & 3 deletions pandas/indexes/frozen.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,12 @@ def searchsorted(self, v, side='left', sorter=None):
See Also
--------
numpy.searchsorted : equivalent function
Type: method_descriptor
"""

# we are much more performant if we have the same
# type as the indexer
# we are much more performant if the searched
# indexer is the same type as the array
# this doesn't matter for int64, but DOES
# matter for smaller int dtypes
try:
v = self.dtype.type(v)
except:
Expand Down