[Numpy-discussion] About asarray (list)

2008-08-27 Thread Claude Gouedard
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 ? Claude ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/

[Numpy-discussion] About asarray (list)

2008-08-27 Thread Claude Gouedard
no problem . = aa=asarray((1,2)) print aa.size , aa.shape >> 2 (2, ) = ... same for sequences: = aa=asarray( [1] ) print aa.size , aa.shape >> 1 (1, ) ========= Thanks Claude Gouedard _