0

Python

Please, anyone know how I can make a bar diagram from this dataframe? import pandas as pd import numpy as np import matplotlib.pyplot as plt %matplotlib inline data = { 'Année': [2019, 2020], 'Janvier': [81, 43], 'Avril': [33, 31], 'Juillet': [36, 30], 'Octobre': [89, 136] } df = pd.DataFrame(data) https://code.sololearn.com/cci7mV5MH3Nk

3rd Jan 2022, 10:56 PM
Wiwi
Wiwi - avatar
5 odpowiedzi
+ 3
https://code.sololearn.com/cwCoc1YOD9a0/?ref=app
3rd Jan 2022, 11:26 PM
Simon Sauter
Simon Sauter - avatar
+ 1
Thanks a lot
3rd Jan 2022, 11:35 PM
Wiwi
Wiwi - avatar
0
Do you know what I need to change to have a different color for 2019 and 2020?
3rd Jan 2022, 11:58 PM
Wiwi
Wiwi - avatar
0
https://www.python-graph-gallery.com/3-control-color-of-barplots
4th Jan 2022, 12:01 AM
Simon Sauter
Simon Sauter - avatar
0
Thks again
4th Jan 2022, 12:04 AM
Wiwi
Wiwi - avatar