mirror of
https://app-learninglab.inria.fr/moocrr/gitlab/da84ababf0696af51bddad556af86353/mooc-rr.git
synced 2026-06-17 01:25:26 +02:00
Modification du document d'analyse du journal
This commit is contained in:
parent
5e92b64a86
commit
af469acb4a
1 changed files with 17 additions and 11 deletions
|
|
@ -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]]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue