to find the unique elements in numpy array code example Example: python .unique() np.unique([1, 1, 2, 2, 3, 3]) array([1, 2, 3])