This is documentation for an old release of NumPy (version 1.6.0). 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, arg2 : dtype_like
|
---|---|
Returns : | out : bool |
Examples
>>> np.issubdtype('S1', str)
True
>>> np.issubdtype(np.float64, np.float32)
False