[Numpy-discussion] 2D Arrays column operations
Travis Oliphant
oliphant@ee.byu....
Thu Mar 29 14:46:31 CDT 2007
Simon Berube wrote:
>c = a(:,2) to get the values array([2,5,8])
>
>
Actually (0-based indexing)
c = a[:,1]
-Travis
More information about the Numpy-discussion
mailing list