Answers for "plot categorical data matplotlib"

2

plot categorical data matplotlib

df['colour'].value_counts().plot(kind='bar')
Posted by: Guest on March-14-2021
0

simple graph in matplotlib categorical variables

tips = sns.load_dataset("tips")
sns.catplot(x="day", y="total_bill", data=tips)
Posted by: Guest on January-21-2021

Browse Popular Code Answers by Language