[Numpy-discussion] creating column vectors
Stefan van der Walt
stefan at sun.ac.za
Wed Feb 8 06:09:12 CST 2006
This is probably a silly question, but what is the best way of
creating column vectors? 'arange' always returns a row vector, on
which you cannot perform 'transpose' since it has only one dimension.
works, but seems a bit long-winded (in comparison to MATLAB's [1:10]').
I'd appreciate pointers in the right direction.
More information about the Numpy-discussion