Commit af469acb authored by Louis Lacoste's avatar Louis Lacoste

Modification du document d'analyse du journal

parent 5e92b64a
......@@ -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]]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment