[SciPy-user] Numpy for Matlab users

Robert Kern robert.kern at gmail.com
Wed Feb 15 11:52:25 EST 2006


Nils Wagner wrote:

> This might be straightforward if I want to remove the first or last row.
> 
> a=a[1:,:]
> a=a[:3,:]
> 
> but how can I efficiently remove the second or third row w.r.t. to your
> example ?

Robert Cimrman gave you the answer.

-- 
Robert Kern
robert.kern at gmail.com

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter




More information about the SciPy-User mailing list