code: def searchsorted(self, value, side="left", sorter=None):
          
  
          # 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.
          #
          # xref: https://github.com/numpy/numpy/issues/5370
          try:
              value = self.dtype.type(value)
          except ValueError:
              pass
  
          return super().searchsorted(value, side=side, sorter=sorter)
docs: Find indices to insert `value` so as to maintain order.
  
          For full documentation, see `numpy.searchsorted`
  
          See Also
          --------
          numpy.searchsorted : Equivalent function.