[Numpy-discussion] array manipulation
Mon Aug 16 23:13:07 CDT 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion