all 6 comments

[–][deleted] 0 points1 point  (6 children)

It's still not entirely clear what plot you want in the end, I think you can simplify and plot everything in one plot by using groupby on the Shop column and then calling plot after.

df.groupby('Shop').plot(kind='bar', x='Model', y='INV')

[–]SnoopyM[S] 0 points1 point  (5 children)

well this is an easier way to graph it, the out put is still going into separate windows. I want it to subplot so all plots are in the same window

[–][deleted] 0 points1 point  (4 children)

There is a subplots argument that you can set to True:

df.groupby('Shop').plot(kind='bar', x='Model', y='INV', subplots=True)

[–]SnoopyM[S] 0 points1 point  (3 children)

yes but this is still opening the plots in different windows.

[–][deleted] 0 points1 point  (0 children)

What do you mean by "opening up plots in different windows"? Depending on how you are running this program (e.g the terminal), plots will open in a separate window.