This is documentation for an old release of NumPy (version 1.3.). Read this page in the documentation of the latest stable release (version > 1.17).
Returns True if first argument is a typecode lower/equal in type hierarchy.
Parameters: | arg1 : dtype_like
arg2 : dtype_like
|
---|
See also
Examples
>>> np.issubdtype('S1', str)
True
>>> np.issubdtype(np.float64, np.float32)
False