Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

pandas value_counts sort descending

df1 = df.groupby('Category')['Name'].value_counts().sort_values(as‌​cending=False)
 
PREVIOUS NEXT
Tagged: #pandas #sort #descending
ADD COMMENT
Topic
Name
4+8 =