Dapatkan daftar nilai unik di kolom panda
a = df['column name'].unique() #returns a list of unique values
TheRubberDucky
a = df['column name'].unique() #returns a list of unique values
df.groupby('param')['column'].nunique().sort_values(ascending=False).unique().tolist()