plot value_counts matplotlib code example
Example 1: plot value counta
data['title'].value_counts()[:20].plot(kind='barh')
Example 2: plot value counts pandas
df.letters.value_counts().sort_values().plot(kind = 'barh')
data['title'].value_counts()[:20].plot(kind='barh')
df.letters.value_counts().sort_values().plot(kind = 'barh')