Holen Sie sich Liste der eindeutigen Werte in der Pandas -Spalte
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()
mylist = ['nowplaying', 'PBS', 'PBS', 'nowplaying', 'job', 'debate', 'thenandnow']
myset = set(mylist)
print(myset)
mynewlist = list(myset)
#['nowplaying', 'PBS', 'job', 'debate', 'thenandnow']