[SciPy-user] array manipulation

Nils Wagner nwagner@iam.uni-stuttgart...
Thu Jul 3 04:24:01 CDT 2008


Hi all,

How can I remove duplicate entries from an array ?

  
>>> Omega
array([ 157.08,  314.16,  471.24,  157.08,  157.08, 
 314.16,  314.16,
         471.24,  471.24])

I am looking for an array

Omega_new = array(([157.08,  314.16,  471.24]))

Nils


More information about the SciPy-user mailing list