It's just the other way around: mymat[:,0] # first column mymat[:,1] # second column
Take a look at the tutorial: http://scipy.org/Tentative_NumPy_Tutorial#head-864862d3f2bb4c32f04260fac61eb4ef34788c4c best! bernhard On Nov 1, 7:22 am, "dev new" <[EMAIL PROTECTED]> wrote: > is there a method for numpy arrays and matrices to get/set a particular > column > > i know that a row can be fetched by mymat[1,:] etc > can this be done for a column > dn > > _______________________________________________ > Numpy-discussion mailing list > [EMAIL PROTECTED]://projects.scipy.org/mailman/listinfo/numpy-discussion _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion