[Numpy-discussion] force column vector

Christian ckkart@hoc....
Wed Feb 7 19:06:01 CST 2007


Sven Schreiber <svetosch <at> gmx.net> writes:
> So I think what's needed is:
> 
> b = array(yourlist)
> b.reshape(b.shape[0], -1)

Yes! That is it.
Thanks, Christian




More information about the Numpy-discussion mailing list