Matplotlib and seaborn 3 · seaborn

Count categories

Show how many rows fall in each category.

sns.countplot(data=df, x="island", hue="species")

Official Matplotlib and seaborn 3 documentation

More seaborn commands

All seaborn commands · Matplotlib and seaborn 3 cheatsheet

Was this page helpful?