bundles / numpy 2.4.3 / numpy / issctype
function
numpy:issctype
Signature
def issctype ( rep ) Summary
Determines whether the given object represents a scalar data-type.
Parameters
rep: anyIf
repis an instance of a scalar dtype, True is returned. If not, False is returned.
Returns
out: boolBoolean result of check whether
repis a scalar dtype.
Examples
from numpy._core.numerictypes import issctype issctype(np.int32) issctype(list) issctype(1.1)✓
issctype(np.dtype('str'))
✓See also
- issubdtype
- issubsctype
- obj2sctype
- sctype2char
Aliases
-
numpy._core.numerictypes.issctype