0

I have been trying to create this graph using matplotlib Graph

I have a dataframe which looks like this:


          Car_Model            Cold Weather Mild Weather
0   Mercedes-EQS-450plus            535     740
1   Mercedes-EQS-450-4MATIC         515     705
2   Mercedes-EQS-500-4MATIC         510     700
3   Mercedes-EQS-580-4MATIC         510     700
4   Mercedes-EQS-AMG-53-4MATICplus  475     645
5   Mercedes-EQE-350plus            440     605
6   Mercedes-EQE-350                430     590
7   Mercedes-EQE-300                430     590
8   BMW-iX-xDrive50                 430     575
9   BMW-i7-xDrive60                 430     580

I have tried solutions from two other questions which are similar but they still haven't worked out.

pandas plot dataframe as multiple bar charts and How to create a grouped barplot from three columns in pandas [duplicate]

How can I make the graph appear as in the first picture?

tdy
  • 36,675
  • 19
  • 86
  • 83
Androxus
  • 31
  • 2

0 Answers0