[Numpy-discussion] beginner question: rank-1 arrays

Robin robince@gmail....
Mon Oct 8 17:24:10 CDT 2007


On 10/8/07, Gael Varoquaux <gael.varoquaux@normalesup.org> wrote:

> Damn it. Shame on me. I meant c_[0:10,]. If you really need a shape of
> (1,10) (I have never had such a need) you can use c_[0:10,].T.


Thanks! - the trick with the , is just the sort of thing I was looking for -
I knew there must be an easy way...

Cheers

Robin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20071008/e7c9095a/attachment.html 


More information about the Numpy-discussion mailing list