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