array manipulation-

Aram Ter-Sarkissov sigma.z.1980 at gmail.com
Mon Aug 16 23:07:14 EDT 2010


hi, this is probably a very silly question, but I can't get my hear
around it unfortunately(

I have an array (say, mat=rand(3,5)) from which I 'pull out' a row
(say, s1=mat[1,]). The problem is, the shape of this row s1 is not
[1,5], as I would expect, but rather [5,], which means that I can't,
for example, concateante mat and s1 rowwise.

thanks for the help



More information about the Python-list mailing list