I have a data frame that is set up as follows:
index Category Item
1 a true
2 b false
3 c true
4 b true
5 c false
6 a false
7 b true
8 c False
I want to make a grouped bar plot where I can visualize the percentage of true and false values for each category a, b, and c. I have provided my attempt at plotting this data below. The error I keep getting is "Could not interpret input 'percent' ". Any help is appreciated. I am extremely new to seaborn and pandas.
sns.barplot(data=DF.loc[:,["Category", "Item"]], x="Category", y="percent", hue="Item", order=["a", "b", "c"])