[Numpy-discussion] help! type 'float64scalar' is not type 'float'
oliphant.travis at ieee.org
Thu Aug 3 00:43:48 CDT 2006
Sebastian Haase wrote:
> I just found
> numpy.isscalar() and numpy.issctype() ?
> These sound like they would do what I need - what is the difference
> between the two ?
numpy.issctype works with type objects
numpy.isscalar works with instances
Neither of them distinguish between scalars and "numbers."
If you get errors with isscalar it would be nice to know what they are.
More information about the Numpy-discussion