def fn_int32(self, value):
if is_ndarray(value) or isinstance(value, (list, tuple)):<EOL><INDENT>return self._to_ndarray(value).astype(numpy.int64)<EOL><DEDENT>else:<EOL><INDENT>return int(value)<EOL><DEDENT>
Return the value cast to an 64-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