Python | numpy.issubdtype() function Last Updated : 14 Mar, 2019 Comments Improve Suggest changes Like Article Like Report numpy.issubdtype() function is used to determine whether the first argument is a typecode lower/equal in type hierarchy from second argument.If the first argument is lower or equal it returns true, otherwise it returns false. Syntax : numpy.issubdtype(arg1, arg2) Parameters : arg1, arg2 : [dtype_like] dtype or string representing a typecode. Return : [bool] Boolean result. Code #1 : Python3 # Python program explaining # numpy.issubdtype() function # importing numpy import numpy as geek # selecting the argument arg1 = geek.int64 arg2 = geek.int32 # output boolean value out_val = geek.issubdtype(arg1, arg2) print ("Is the first argument lower: ", out_val) Output : Is the first argument lower: False Code #2 : Python3 # Python program explaining # numpy.issubdtype() function # importing numpy import numpy as geek # selecting the argument arg1 ='S2' arg2 = geek.string_ # output boolean value out_val = geek.issubdtype(arg1, arg2) print ("Is the first argument lower: ", out_val) Output : Is the first argument lower: True Comment More infoAdvertise with us Next Article Python | numpy.issubdtype() function J jana_sayantan Follow Improve Article Tags : Python Python-numpy Python numpy-DataType Practice Tags : python Similar Reads Python | numpy.issubsctype() function numpy.issubsctype() function is used to determine whether the first argumentis a subclass of the second argument.If the first argument is a subclass of the second argument it returns true, otherwise it returns false. Syntax : numpy.issubsctype(arg1, arg2) Parameters : arg1, arg2 : dtype or dtype spe 1 min read Python | numpy.issctype() function numpy.issctype() function is used to determine whether the given object represents a scalar data-type.If the given object represents a scalar data-type it returns true, otherwise it returns false. Syntax : numpy.issctype(rep) Parameters : rep : any input. Return : [bool] Boolean result of check whet 1 min read numpy.issubclass_() function â Python numpy.issubclass_() function is used to determine whether a class is a subclass of a second class. Syntax : numpy.issubclass_(arg1, arg2) Parameters : arg1 : [class] Input class. True is returned if arg1 is a subclass of arg2. arg2 : [class or tuple of classes] Input class. If a tuple of classes, Tr 1 min read numpy.mintypecode() function â Python numpy.mintypecode() function return the character for the minimum-size type to which given types can be safely cast. Syntax : numpy.mintypecode(typechars, typeset = 'GDFgdf', default = 'd') Parameters : typechars : [list of str or array_like] If a list of strings, each string should represent a dtyp 1 min read numpy.ma.is_mask() function | Python numpy.ma.is_mask() function return True if parameter m is a valid, standard mask. This function does not check the contents of the input, only that the type is MaskType. In particular, this function returns False if the mask has a flexible dtype. Syntax : numpy.ma.is_mask(m) Parameter : m : [array_l 1 min read Like