[Numpy-discussion] compress numpy vs .numarray

Robert Kern robert.kern at gmail.com
Thu Jan 4 20:08:55 EST 2007


Sebastian Haase wrote:

> Is N.extract()  the equivalent of numarray.compress()  ?

Only for the specific flattening behavior that you are talking about. However,
numpy.extract() does not have the axis= argument that numarray.compress() does.

-- 
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