Data type routines
| Returns True if cast between data types can occur according to the casting rule. |
| Returns the data type with the smallest size and smallest scalar kind to which both |
For scalar | |
| Returns the type that results from applying the NumPy type promotion rules to the arguments. |
| Return a scalar type which is common to the input arrays. |
| Return the scalar dtype or NumPy equivalent of Python type of an object. |
Creating data types
| |
| Class to convert formats, names, titles description to a dtype. |
Data type information
| Machine limits for floating point types. |
| Machine limits for integer types. |
| Diagnosing machine parameters. |
Data type testing
| Determines whether the given object represents a scalar data-type. |
| Returns True if first argument is a typecode lower/equal in type hierarchy. |
| Determine if the first argument is a subclass of the second argument. |
| Determine if a class is a subclass of a second class. |
| Determine common type following standard coercion rules. |
Miscellaneous
| Return a description for the given data type code. |
| Return the string representation of a scalar dtype. |
| Return the character for the minimum-size type to which given types can be safely cast. |
Return the scalar type of highest precision of the same kind as the input. |
© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.20/reference/routines.dtype.html