[Numpy-discussion] Is a string a scalar type?
Sat Mar 24 19:54:28 CDT 2007
Charles R Harris wrote:
> In : isscalar('hello world')
> Out: True
As far as numpy is concerned, they are.
>>> from numpy import *
>>> array('hello world')
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Numpy-discussion