numpy.mintypecode() function – Python Last Updated : 18 Jun, 2020 Comments Improve Suggest changes Like Article Like Report 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 dtype. If array_like, the character representation of the array dtype is used. typeset : [str or list of str, optional] The set of characters that the returned character is chosen from. The default set is ‘GDFgdf’. default : [str, optional] The default character, this is returned if none of the characters in typechars matches a character in typeset. Return : [str] The character representing the minimum-size type that was found. Code #1 : Python3 # Python program explaining # numpy.mintypecode() function # importing numpy as geek import numpy as geek gfg = geek.mintypecode(['d', 'f', 'S']) print (gfg) Output : d Code #2 : Python3 # Python program explaining # numpy.mintypecode() function # importing numpy as geek import numpy as geek x = geek.array([1.1, 2-1.j]) gfg = geek.mintypecode(x) print (gfg) Output : D Comment More infoAdvertise with us Next Article numpy.mintypecode() function – Python S sanjoy_62 Follow Improve Article Tags : Python Python-numpy Practice Tags : python Similar Reads 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 numpy.dtype.kind() function â Python 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 1 min read ord() function in Python Python ord() function returns the Unicode code of a given single character. It is a modern encoding standard that aims to represent every character in every language.Unicode includes:ASCII characters (first 128 code points)Emojis, currency symbols, accented characters, etc.For example, unicode of 'A 2 min read numpy.typename() function â Python numpy.typename() function return a description for the given data type code. Syntax : numpy.typename(char) Parameters : char : [str] Data type code. Return : [str] Description of the input data type code. Code #1 : Python3 # Python program explaining # numpy.typename() function # importing numpy as 2 min read Python | numpy.lookfor() method With the help of numpy.lookfor() method, we can get the information about the module in the numpy by using numpy.lookfor() method. Syntax : numpy.lookfor(module_name) Return : Return the information about the module. Example #1 : In this example we can see that by using numpy.lookfor() method, we ar 1 min read Like