pandas value_counts sort descending
df1 = df.groupby('Category')['Name'].value_counts().sort_values(ascending=False)
Are there any code examples left?
New code examples in category TypeScript
df1 = df.groupby('Category')['Name'].value_counts().sort_values(ascending=False)