sample_list = [10, 20, 10] unique_values = (list(set(sample_list)))
pd.Series([2, 1, 3, 3], name='A').unique() array([2, 1, 3])
array = [1,2,3,4,1,2,3,6] set(array) #output [1,2,3,4,6]