code: def fn_int8(self, value):
          
  
          if is_ndarray(value) or isinstance(value, (list, tuple)):
              return self._to_ndarray(value).astype(numpy.int8)
          else:
              return int(value)
docs: Return the value cast to an 8-bit signed integer (numpy array) or a Python int (single value)
  
          :param value: The number or array
          :return: The number or array as int/int8