array subset could be improved? -repost ;)

Jim O'D jbo at cannedham.ee.ed.ac.uk
Mon Oct 17 06:24:09 EDT 2005


> With the new numeric, you'll be able to do:
> 
> negatives = a[a<0]
> 
> Cheers,
> 
> f
> 

Ooh, that's nice.

Jim



More information about the Python-list mailing list