diff --git a/module2/exo4/analyse-journal.org b/module2/exo4/analyse-journal.org index dc5cac9eae59191c433c466f2b8b912a4f849369..ca31b7ac1e8fa89d33d68e03b0aa771dded1b09a 100644 --- a/module2/exo4/analyse-journal.org +++ b/module2/exo4/analyse-journal.org @@ -74,15 +74,21 @@ print(tagCountDataframe) #+end_src #+RESULTS: conversion-dataframe -: {'informatique': 1, 'wikipedia': 1, 'biologie': 2, 'virus': 1, 'allergie': 1, 'LOGBOOK': 2, 'END': 2} -: tags values -: 0 informatique 1 -: 1 wikipedia 1 -: 2 biologie 2 -: 3 virus 1 -: 4 allergie 1 -: 5 LOGBOOK 2 -: 6 END 2 +#+begin_example +{'informatique': 2, 'wikipedia': 1, 'biologie': 2, 'virus': 1, 'allergie': 1, 'noexport': 2, 'LOGBOOK': 2, 'END': 2, 'mooc': 1, 'science': 1, 'Epistemology': 1} + tags values +0 informatique 2 +1 wikipedia 1 +2 biologie 2 +3 virus 1 +4 allergie 1 +5 noexport 2 +6 LOGBOOK 2 +7 END 2 +8 mooc 1 +9 science 1 +10 Epistemology 1 +#+end_example * Affichage des données ** Diverses infos @@ -91,7 +97,7 @@ print(f"Les tags les plus cités : {tagCount.most_common(3)}") #+end_src #+RESULTS: - : Les tags les plus cités : [('biologie', 2), ('LOGBOOK', 2), ('END', 2)] + : Les tags les plus cités : [('informatique', 2), ('biologie', 2), ('noexport', 2)] ** Graphiques #+begin_src python :results file :session :var matplot_lib_filename=(org-babel-temp-file "figure" ".png") :exports both import matplotlib.pyplot as plt @@ -107,4 +113,4 @@ matplot_lib_filename #+end_src #+RESULTS: -[[file:/tmp/babel-DfWAKd/figureDe0QxU.png]] +[[file:/tmp/babel-Eb8JSG/figure6P1Fep.png]]