Table of Contents
numpy.doc
numpy.lib
numpy.random
numpy.linalg
numpy.fft
numpy.polynomial
numpy.testing
numpy.f2py
numpy.distutils
ufunc
numpy.ctypeslib
numpy.dual
numpy.emath
numpy.matlib
numpy.
issubdtype
Returns True if first argument is a typecode lower/equal in type hierarchy.
arg1, arg2 : dtype_like
dtype or string representing a typecode.
out : bool
See also
issubsctype, issubclass_
issubsctype
issubclass_
numpy.core.numerictypes
Examples
>>> np.issubdtype('S1', str) True >>> np.issubdtype(np.float64, np.float32) False