[Pythonmac-SIG] Fast way to get a list of unique values?

Robb Brown brownr@ucalgary.ca
Mon, 9 Sep 2002 14:48:55 -0600


I have a large array (Numeric) of integers.  I'd like to get a list 
of all the unique values in that array.  Naturally I'd like to avoid 
a for loop.  Is there an easy way to do this in Python?

Thanks,

Robb
-- 
______________________________
Robb Brown
Seaman Family MR Research Centre
Calgary, Alberta, Canada