Issue
This Content is from Stack Overflow. Question asked by ozzboy
Here is my data frame:
I would like to plot a chart like this:
How would I do this in altair charts in python?
Solution
You can just do
df.set_index(['student','subject']).plot.bar(rot=0)
This Question was asked in StackOverflow by ozzboy and Answered by BENY It is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.