Hi, On Mon, Jul 23, 2012 at 3:46 PM, Urs Hackstein <[email protected]> wrote: > maybe it is a silly question: Let "data" be a numpy array of floating point > numbers. Then data[:,-1] gives the last column. But how can one retrieve the > last two columns? I tried several attempts, but not succeeded.
How about: data[:,-2:] Cheers, -- Vegard Lima -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
