multiple bar plots from pandas dataframe
<p>So I have a data frame like</p>

<pre><code>exp_name, index, items, clicks
"foo",0, "apple",200
"foo",0, "banana", 300
"foo",0,"melon",220
"foo",1, "apple", 10
"foo",1,"peach", 20
"bar",0, "apple",400
"bar",0,'banana', 500
"bar",0, "melon",240
"bar",1,"apple",500
</code></pre>

<p>and so on</p>

<p>I want to plot... for each experiment name... bar plots of number of clicks for each item in each index but colored by index.
So basically..
plot 1.. for experiment "foo", a bar plots.. where index == 0.. all the barplots for index 0 in one color.. index 1 in another color.</p>

<p>if the item is missing (for example peach is in "foo", 1 but not in any other place) replace "peach" to be zero in other places.</p>