Determines whether the given object represents a scalar data-type.
Parameters : | rep : any
|
---|---|
Returns : | out : bool
|
See also
Examples
>>> np.issctype(np.int32)
True
>>> np.issctype(list)
False
>>> np.issctype(1.1)
False
Strings are also a scalar type:
>>> np.issctype(np.dtype('str'))
True