[Numpy-discussion] assign a variable to each column of an array
elfnor
e.howick at irl.cri.nz
Sun Dec 16 21:58:29 EST 2007
Is there a more concise way of assigning a variable to each column of an array?
This works
x,y,z = X[:,0],X[:,1],X[:,2]
but seems clumsy.
More information about the NumPy-Discussion
mailing list