Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas unique values to list

df.groupby('param')['column'].nunique().sort_values(ascending=False).unique().tolist()
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #pandas #unique #values #list
ADD COMMENT
Topic
Name
1+1 =