get value counts of pandas series code example Example: plot value counts pandas df.letters.value_counts().sort_values().plot(kind = 'barh')