-
numpy.issubdtype(arg1, arg2)
[source] -
Returns True if first argument is a typecode lower/equal in type hierarchy.
Parameters: arg1, arg2 : dtype_like
dtype or string representing a typecode.
Returns: out : bool
Examples
1234>>> np.issubdtype(
'S1'
,
str
)
True
>>> np.issubdtype(np.float64, np.float32)
False
numpy.issubdtype()

2025-01-10 15:47:30
Please login to continue.