Remove masked elements from an array

Cliff Wells logiplexsoftware at earthlink.net
Mon Apr 29 21:17:21 EDT 2002


On Mon, 29 Apr 2002 18:10:47 -0700
James J. Besemer wrote:

> 
> Fernando Pérez wrote:
> 
> > James J. Besemer wrote:
> >
> > > THREE if you include LAMBDA.
> >
> > No, please heed other advice and use the MA approach. Please note that I'm
not
> > dissing this post on its own merits, it's a nice discussion, it just is
> > ill-adapted to numeric processing. Numeric provides its own _fast_ way to
> > manipulate arrays with invalid data, by all means use it. After all, speed
is
> > one of the big reasons why you use Numeric to begin with (you could do most
> > things in it with regular lists, if you had the age of the universe to
wait).
> 
> I would agree with you that it might be worth the extra trouble and effort to
> download, install and learn to use Numerics IF the user in question has a
big,
> production application to run.

Yes, but the OP clearly stated that he had a Numeric array that he wanted to
filter the values from.  Other than that, no argument.

-- 
Cliff Wells, Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308  (800) 735-0555 x308





More information about the Python-list mailing list