numpy.dtype.kind() function – Python Last Updated : 18 Jun, 2020 Comments Improve Suggest changes Like Article Like Report numpy.dtype.kind() function determine the character code by identifying the general kind of data. Syntax : numpy.dtype.kind(type) Parameters : type : [dtype] The input data-type. Return : Return the character code by identifying the general kind of data. Code #1 : Python3 # Python program explaining # numpy.dtype.kind() function # importing numpy as geek import numpy as geek dtype = geek.dtype('f4') gfg = dtype.kind print (gfg) Output : f Code #2 : Python3 # Python program explaining # numpy.dtype.kind() function # importing numpy as geek import numpy as geek dtype = geek.dtype('i4') gfg = dtype.kind print (gfg) Output : i Comment More infoAdvertise with us Next Article numpy.dtype.kind() function – Python S sanjoy_62 Follow Improve Article Tags : Python Python-numpy Practice Tags : python Similar Reads numpy.dtype.base() function - Python numpy.dtype.base() function returns dtype for the base element of the subarrays, regardless of their dimension or shape. Syntax : numpy.dtype.base() Return : Returns data type of the base element. Code #1 : Python3 # Python program explaining # numpy.dtype.base() function # importing numpy as geek i 1 min read numpy.dtype.subdtype() function â Python numpy.dtype.subdtype() function returns Tuple(item_dtype, shape) if this dtype describes a sub-array, and None otherwise. Syntax : numpy.dtype.subdtype(type) type : [dtype] The input data-type. Return : Return Tuple(item_dtype, shape) if this dtype describes a sub-array, and None otherwise. Code #1 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 Python | numpy.issubdtype() function 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_lik 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 Like