[Numpy-discussion] About asarray (list)

Dag Sverre Seljebotn dagss@student.matnat.uio...
Wed Aug 27 10:20:12 CDT 2008


Claude Gouedard wrote:
> Ok ,
> The same for asarray(1) ..
> The problem is that
> aa=asarray(1) is an numpy.array (right ? ) with a size 1 and a shape ( ) !
> No surprising ?

I think it is considered a 0-dimensional array (= a scalar).

-- 
Dag Sverre


More information about the Numpy-discussion mailing list