pandas different column counts compare bar chart code example Example: plot value counta data['title'].value_counts()[:20].plot(kind='barh')