[SciPy-user] Delete equal elements from array

Sahar Vilan sahar@cmt.co...
Tue Feb 17 01:38:21 CST 2009


I have to exclude equal elements from an array.
x1 = np.array([1, 4, 5, 5])

Is there any function to get from x1 an array with one element of each kind
( [1, 4, 5, 5] -> [1, 4, 5])?



This e-mail message may contain confidential,and  privileged information or data that constitute proprietary information of CMT Medical Ltd. Any review or distribution by others is strictly prohibited. If you are not the intended recipient you are hereby notified that any use of this information or data by any other person is absolutely prohibited. If you are not the intended recipient, please delete all copies. Thank You. http://www.cmt.co.il

This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20090217/74e93690/attachment.html 

More information about the SciPy-user mailing list