Barplot vs countplot

What is the difference between sns.barplot() and sns.countplot()?

Does both of them plot bargraph only?

Hi Koushik,
sns.barplot() shows point estimates, along with the confidence intervals using bars for each category.
sns.countplot() on the other hand shows us the count of each category using bars.

../_images/seaborn-countplot-1.png

../_images/seaborn-countplot-2.png

Source: https://seaborn.pydata.org/generated/seaborn.countplot.html#:~:text=Show%20the%20counts%20of%20observations,compare%20counts%20across%20nested%20variables.