diff --git a/module3/exo2/exercice_python_fr.org b/module3/exo2/exercice_python_fr.org index 5537eacd808b5ed53fca38d9428430ca6f1707a3..c0c7481cb24999310f30cb60433e8af9226f9b40 100644 --- a/module3/exo2/exercice_python_fr.org +++ b/module3/exo2/exercice_python_fr.org @@ -134,3 +134,24 @@ for date1, date2 in zip(dates[:-1], dates[1:]): Visiblement aucune ligne manquante. + +* Analyse des données + +Contrairement au mooc, je fais l'analyse entièrement avec python, +librairie pandas. + +** Visualisation au pas semaine + +#+begin_src python :results value :session :exports both +import pandas +data = pandas.DataFrame(converted_data, columns=("Date", "Incidence")) +fig = data.plot(x="Date", y="Incidence") +plt.savefig("incidence_hebdo_varicelle.png") +#+end_src + +#+RESULTS: + +[[file:"incidence_hebdo_varicelle.png"]] + +** Visualisation au pas année +