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

Robin robince at gmail.com
Mon Oct 8 18:24:10 EDT 2007


On 10/8/07, Gael Varoquaux <gael.varoquaux at 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://mail.python.org/pipermail/numpy-discussion/attachments/20071008/e7c9095a/attachment.html>


More information about the NumPy-Discussion mailing list