Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

countplot in pandas

>>> import seaborn as sns
>>> sns.set_theme(style="darkgrid")
>>> titanic = sns.load_dataset("titanic")
>>> ax = sns.countplot(x="class", data=titanic)
Source by seaborn.pydata.org #
 
PREVIOUS NEXT
Tagged: #countplot #pandas
ADD COMMENT
Topic
Name
9+2 =