Sahar Vilan a écrit : > Hi, > > 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])? np.unique(x1)? Cheers, -- Fred