Open In App

Python | numpy.issctype() function

Last Updated : 12 Mar, 2019
Comments
Improve
Suggest changes
Like Article
Like
Report
numpy.issctype() function is used to determine whether the given object represents a scalar data-type.If the given object represents a scalar data-type it returns true, otherwise it returns false.
Syntax : numpy.issctype(rep) Parameters : rep : any input. Return : [bool] Boolean result of check whether rep is a scalar dtype.
Code #1 :
Output :
Are integers scalar:  True
  Code #2 :
Output :
Is list scalar:  False

Next Article
Practice Tags :

Similar Reads