def fn_int32(self, value):
        """
        Return the value cast to an 32-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
        """

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