unique() in python code example Example: python .unique() np.unique([1, 1, 2, 2, 3, 3]) array([1, 2, 3])