Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas unique values to list

df.groupby('param')['column'].nunique().sort_values(ascending=False).unique().tolist()
 
PREVIOUS NEXT
Tagged: #pandas #unique #values #list
ADD COMMENT
Topic
Name
3+9 =