Back to Numerical Arrays (NumPy)
np.issubdtype
Return true if first argument is a typecode lower/equal in type hierarchy.
Syntax
np.issubdtype(arg1, arg2)
Description
Return true if first argument is a typecode lower/equal in type hierarchy.
Parameters
| Name | Description |
|---|---|
| arg1 | - dtype to check |
| arg2 | - dtype category or abstract type to compare against |
Returns
boolean