can_cast(from_, to[, casting])
can_cast
Returns True if cast between data types can occur according to the casting rule.
promote_types(type1, type2)
promote_types
Returns the data type with the smallest size and smallest scalar kind to which both type1 and type2 may be safely cast.
type1
type2
min_scalar_type(a)
min_scalar_type
For scalar a, returns the data type with the smallest size and smallest scalar kind which can hold its value.
a
result_type(*arrays_and_dtypes)
result_type
Returns the type that results from applying the NumPy type promotion rules to the arguments.
common_type(*arrays)
common_type
Return a scalar type which is common to the input arrays.
obj2sctype(rep[, default])
obj2sctype
Return the scalar dtype or NumPy equivalent of Python type of an object.
dtype
format_parser(formats, names, titles[, …])
format_parser
Class to convert formats, names, titles description to a dtype.
finfo(dtype)
finfo
Machine limits for floating point types.
iinfo(type)
iinfo
Machine limits for integer types.
MachAr([float_conv, int_conv, …])
MachAr
Diagnosing machine parameters.
issctype(rep)
issctype
Determines whether the given object represents a scalar data-type.
issubdtype(arg1, arg2)
issubdtype
Returns True if first argument is a typecode lower/equal in type hierarchy.
issubsctype(arg1, arg2)
issubsctype
Determine if the first argument is a subclass of the second argument.
issubclass_(arg1, arg2)
issubclass_
Determine if a class is a subclass of a second class.
find_common_type(array_types, scalar_types)
find_common_type
Determine common type following standard coercion rules.
typename(char)
typename
Return a description for the given data type code.
sctype2char(sctype)
sctype2char
Return the string representation of a scalar dtype.
mintypecode(typechars[, typeset, default])
mintypecode
Return the character for the minimum-size type to which given types can be safely cast.
maximum_sctype(t)
maximum_sctype
Return the scalar type of highest precision of the same kind as the input.