[Numpy-discussion] Deleting a row from a matrix

Robert Kern robert.kern at gmail.com
Fri Aug 25 18:55:51 CDT 2006

Travis Oliphant wrote:

> I've come up with adding the functions (not methods at this point)
> deletefrom
> insertinto
> appendto  (syntatic sugar for concatenate but with a separate argument 
> for the array and the extra stuff) --- is this needed?
> These functions will operate along a particular axis (default is axis=0 
> to match concatenate).
> Comments?

I would drop appendto(). I also recommend leaving them as functions and not 
making methods from them. This will help prevent people from thinking that these 
modify the arrays in-place.

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco

More information about the Numpy-discussion mailing list