2015-2016/5e/DS/DS_16_02_08/Bilan.ipynb

2353 lines
340 KiB
Plaintext
Raw Permalink Normal View History

2017-06-16 06:48:54 +00:00
{
"cells": [
{
"cell_type": "code",
"execution_count": 41,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"import pandas as pd\n",
"from opytex import texenv\n",
"%matplotlib inline\n",
"import matplotlib.pyplot as plt\n",
"plt.style.use(\"seaborn-notebook\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Informations sur le devoir"
]
},
{
"cell_type": "code",
"execution_count": 42,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/plain": [
"{'classe': '510', 'date': '8 février 2016', 'titre': 'DS 5'}"
]
},
"execution_count": 42,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"ds_name = \"DS_16_02_08\"\n",
"classe = \"510\"\n",
"\n",
"latex_info = {}\n",
"latex_info['titre'] = \"DS 5\"\n",
"latex_info['classe'] = \"510\"\n",
"latex_info['date'] = \"8 février 2016\"\n",
"latex_info"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Import et premiers traitements"
]
},
{
"cell_type": "code",
"execution_count": 43,
"metadata": {
"collapsed": false,
"scrolled": true
},
"outputs": [],
"source": [
"notes = pd.ExcelFile(\"./../../../notes/\"+classe+\".xlsx\")\n",
"notes.sheet_names\n",
"notes = notes.parse(ds_name)"
]
},
{
"cell_type": "code",
"execution_count": 44,
"metadata": {
"collapsed": false,
"scrolled": true
},
"outputs": [
{
"data": {
"text/plain": [
"Index(['DS_16_02_08', 'Exercice 1', 'Opération 1', 'Opération 2', 'Exercice 2',\n",
" 'Durée', 'Horaire', 'Exercice 3', 'Distance', 'Temps',\n",
" 'Distance (fraction)', 'Exercice 4', 'nbr virgule', 'Dixieme 1',\n",
" 'Dixieme 2', 'Cinquième', 'Demi', 'Exercice 5', 'Symétrie axiale',\n",
" 'Symétrie centrale', 'Codage', 'Précision'],\n",
" dtype='object')"
]
},
"execution_count": 44,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"notes.index"
]
},
{
"cell_type": "code",
"execution_count": 45,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"notes = notes.T"
]
},
{
"cell_type": "code",
"execution_count": 46,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"#notes = notes.drop('av_arrondi', axis=1)\n",
"#notes = notes.drop('num_sujet', axis=1)"
]
},
{
"cell_type": "code",
"execution_count": 47,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"barem = notes[:1]\n",
"notes = notes[1:]"
]
},
{
"cell_type": "code",
"execution_count": 48,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>DS_16_02_08</th>\n",
" <th>Exercice 1</th>\n",
" <th>Opération 1</th>\n",
" <th>Opération 2</th>\n",
" <th>Exercice 2</th>\n",
" <th>Durée</th>\n",
" <th>Horaire</th>\n",
" <th>Exercice 3</th>\n",
" <th>Distance</th>\n",
" <th>Temps</th>\n",
" <th>...</th>\n",
" <th>nbr virgule</th>\n",
" <th>Dixieme 1</th>\n",
" <th>Dixieme 2</th>\n",
" <th>Cinquième</th>\n",
" <th>Demi</th>\n",
" <th>Exercice 5</th>\n",
" <th>Symétrie axiale</th>\n",
" <th>Symétrie centrale</th>\n",
" <th>Codage</th>\n",
" <th>Précision</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>ABDOU ALI Nassim</th>\n",
" <td>7.5</td>\n",
" <td>2.666667</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" <td>2.5</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>0.666667</td>\n",
" <td>0</td>\n",
" <td>2</td>\n",
" <td>...</td>\n",
" <td>0</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0.500000</td>\n",
" <td>1</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ABDOUL-KADER Toura</th>\n",
" <td>2.0</td>\n",
" <td>0.666667</td>\n",
" <td>0</td>\n",
" <td>1</td>\n",
" <td>0.0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0.666667</td>\n",
" <td>2</td>\n",
" <td>0</td>\n",
" <td>...</td>\n",
" <td>2</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0.000000</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>AHAMADI Djelane</th>\n",
" <td>15.0</td>\n",
" <td>2.666667</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" <td>0.0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>2.333333</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>...</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>5.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>AHMED Laine</th>\n",
" <td>9.5</td>\n",
" <td>3.333333</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>0.0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>3.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>...</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>NaN</td>\n",
" <td>2</td>\n",
" <td>0.000000</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>AHMED Hamza</th>\n",
" <td>13.0</td>\n",
" <td>2.000000</td>\n",
" <td>2</td>\n",
" <td>1</td>\n",
" <td>2.0</td>\n",
" <td>1</td>\n",
" <td>3</td>\n",
" <td>0.666667</td>\n",
" <td>2</td>\n",
" <td>0</td>\n",
" <td>...</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3.333333</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" <td>0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>AHMED Aicha</th>\n",
" <td>11.0</td>\n",
" <td>2.666667</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" <td>1.5</td>\n",
" <td>1</td>\n",
" <td>2</td>\n",
" <td>3.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>...</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>0.000000</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ALI Naima</th>\n",
" <td>16.0</td>\n",
" <td>2.666667</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" <td>1.5</td>\n",
" <td>0</td>\n",
" <td>3</td>\n",
" <td>3.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>...</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>5.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ANSSURDINE Zaidou</th>\n",
" <td>NaN</td>\n",
" <td>0.000000</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>0.0</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>0.000000</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>0.000000</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ARBABI Idiamine</th>\n",
" <td>13.0</td>\n",
" <td>2.666667</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" <td>3.0</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>1.333333</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>...</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>3</td>\n",
" <td>2.166667</td>\n",
" <td>0</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ATTOUMANI Mtahida</th>\n",
" <td>6.0</td>\n",
" <td>2.666667</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" <td>0.0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0.666667</td>\n",
" <td>2</td>\n",
" <td>0</td>\n",
" <td>...</td>\n",
" <td>0</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>0</td>\n",
" <td>NaN</td>\n",
" <td>2.500000</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>BACAR Natacha</th>\n",
" <td>9.0</td>\n",
" <td>2.666667</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" <td>0.0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>1.333333</td>\n",
" <td>1</td>\n",
" <td>3</td>\n",
" <td>...</td>\n",
" <td>NaN</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>1.166667</td>\n",
" <td>1</td>\n",
" <td>0</td>\n",
" <td>2</td>\n",
" <td>0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>BACAR Musbahou</th>\n",
" <td>20.0</td>\n",
" <td>4.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3.0</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>...</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>5.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>BAHEDJA Rachma</th>\n",
" <td>18.0</td>\n",
" <td>2.666667</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" <td>3.0</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>2.333333</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>...</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>5.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>CHAHARANE Djawadi</th>\n",
" <td>11.5</td>\n",
" <td>2.000000</td>\n",
" <td>2</td>\n",
" <td>1</td>\n",
" <td>0.0</td>\n",
" <td>0</td>\n",
" <td>NaN</td>\n",
" <td>1.000000</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>...</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3.666667</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>CHARIF Nassuria</th>\n",
" <td>5.5</td>\n",
" <td>1.333333</td>\n",
" <td>1</td>\n",
" <td>1</td>\n",
" <td>0.0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>1.333333</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" <td>...</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>1.666667</td>\n",
" <td>2</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>COMBO Danil</th>\n",
" <td>10.0</td>\n",
" <td>2.000000</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>0.0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>1.000000</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>...</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>5.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>HOUMADI Naima</th>\n",
" <td>9.5</td>\n",
" <td>2.000000</td>\n",
" <td>2</td>\n",
" <td>1</td>\n",
" <td>3.0</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>1.666667</td>\n",
" <td>0</td>\n",
" <td>3</td>\n",
" <td>...</td>\n",
" <td>0</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>1.500000</td>\n",
" <td>2</td>\n",
" <td>1</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>IBRAHIM Yanick</th>\n",
" <td>15.5</td>\n",
" <td>3.333333</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>1.0</td>\n",
" <td>0</td>\n",
" <td>2</td>\n",
" <td>2.000000</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>...</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>5.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>IBRAHIM Hakim</th>\n",
" <td>8.0</td>\n",
" <td>2.000000</td>\n",
" <td>2</td>\n",
" <td>1</td>\n",
" <td>0.0</td>\n",
" <td>NaN</td>\n",
" <td>0</td>\n",
" <td>0.666667</td>\n",
" <td>2</td>\n",
" <td>0</td>\n",
" <td>...</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>2.166667</td>\n",
" <td>2</td>\n",
" <td>1</td>\n",
" <td>0</td>\n",
" <td>2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>MADI Himidati</th>\n",
" <td>7.0</td>\n",
" <td>2.666667</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>1.0</td>\n",
" <td>0</td>\n",
" <td>2</td>\n",
" <td>1.666667</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>...</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0.500000</td>\n",
" <td>1</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>MARI Ismaël</th>\n",
" <td>14.5</td>\n",
" <td>2.000000</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>3.0</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>2.333333</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>...</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>4.333333</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>MOHAMED Yousra</th>\n",
" <td>9.0</td>\n",
" <td>2.000000</td>\n",
" <td>0</td>\n",
" <td>3</td>\n",
" <td>0.0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>1.000000</td>\n",
" <td>3</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>0</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>3.833333</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>MOUHOUDHOIRE Nithaou</th>\n",
" <td>5.5</td>\n",
" <td>2.000000</td>\n",
" <td>2</td>\n",
" <td>1</td>\n",
" <td>1.5</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>0.000000</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>0</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>2.166667</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>SAINDOU Abdoul Anzize</th>\n",
" <td>4.5</td>\n",
" <td>1.333333</td>\n",
" <td>2</td>\n",
" <td>0</td>\n",
" <td>0.0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0.333333</td>\n",
" <td>1</td>\n",
" <td>0</td>\n",
" <td>...</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>1.666667</td>\n",
" <td>2</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>SAÏD Hakim</th>\n",
" <td>17.5</td>\n",
" <td>3.333333</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>3.0</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>...</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>4.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>SOIFENE Fémida</th>\n",
" <td>5.0</td>\n",
" <td>0.666667</td>\n",
" <td>0</td>\n",
" <td>1</td>\n",
" <td>0.0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>1.333333</td>\n",
" <td>2</td>\n",
" <td>0</td>\n",
" <td>...</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>2.000000</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ZAKARIA Najwa</th>\n",
" <td>5.5</td>\n",
" <td>4.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>0.0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0.000000</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>...</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0.500000</td>\n",
" <td>1</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>27 rows × 22 columns</p>\n",
"</div>"
],
"text/plain": [
" DS_16_02_08 Exercice 1 Opération 1 Opération 2 \\\n",
"ABDOU ALI Nassim 7.5 2.666667 3 1 \n",
"ABDOUL-KADER Toura 2.0 0.666667 0 1 \n",
"AHAMADI Djelane 15.0 2.666667 3 1 \n",
"AHMED Laine 9.5 3.333333 3 2 \n",
"AHMED Hamza 13.0 2.000000 2 1 \n",
"AHMED Aicha 11.0 2.666667 3 1 \n",
"ALI Naima 16.0 2.666667 3 1 \n",
"ANSSURDINE Zaidou NaN 0.000000 NaN NaN \n",
"ARBABI Idiamine 13.0 2.666667 3 1 \n",
"ATTOUMANI Mtahida 6.0 2.666667 3 1 \n",
"BACAR Natacha 9.0 2.666667 3 1 \n",
"BACAR Musbahou 20.0 4.000000 3 3 \n",
"BAHEDJA Rachma 18.0 2.666667 3 1 \n",
"CHAHARANE Djawadi 11.5 2.000000 2 1 \n",
"CHARIF Nassuria 5.5 1.333333 1 1 \n",
"COMBO Danil 10.0 2.000000 3 0 \n",
"HOUMADI Naima 9.5 2.000000 2 1 \n",
"IBRAHIM Yanick 15.5 3.333333 3 2 \n",
"IBRAHIM Hakim 8.0 2.000000 2 1 \n",
"MADI Himidati 7.0 2.666667 2 2 \n",
"MARI Ismaël 14.5 2.000000 3 0 \n",
"MOHAMED Yousra 9.0 2.000000 0 3 \n",
"MOUHOUDHOIRE Nithaou 5.5 2.000000 2 1 \n",
"SAINDOU Abdoul Anzize 4.5 1.333333 2 0 \n",
"SAÏD Hakim 17.5 3.333333 2 3 \n",
"SOIFENE Fémida 5.0 0.666667 0 1 \n",
"ZAKARIA Najwa 5.5 4.000000 3 3 \n",
"\n",
" Exercice 2 Durée Horaire Exercice 3 Distance \\\n",
"ABDOU ALI Nassim 2.5 3 2 0.666667 0 \n",
"ABDOUL-KADER Toura 0.0 0 0 0.666667 2 \n",
"AHAMADI Djelane 0.0 0 0 2.333333 3 \n",
"AHMED Laine 0.0 0 0 3.000000 3 \n",
"AHMED Hamza 2.0 1 3 0.666667 2 \n",
"AHMED Aicha 1.5 1 2 3.000000 3 \n",
"ALI Naima 1.5 0 3 3.000000 3 \n",
"ANSSURDINE Zaidou 0.0 NaN NaN 0.000000 NaN \n",
"ARBABI Idiamine 3.0 3 3 1.333333 3 \n",
"ATTOUMANI Mtahida 0.0 0 0 0.666667 2 \n",
"BACAR Natacha 0.0 0 0 1.333333 1 \n",
"BACAR Musbahou 3.0 3 3 3.000000 3 \n",
"BAHEDJA Rachma 3.0 3 3 2.333333 3 \n",
"CHAHARANE Djawadi 0.0 0 NaN 1.000000 3 \n",
"CHARIF Nassuria 0.0 0 0 1.333333 3 \n",
"COMBO Danil 0.0 0 0 1.000000 3 \n",
"HOUMADI Naima 3.0 3 3 1.666667 0 \n",
"IBRAHIM Yanick 1.0 0 2 2.000000 3 \n",
"IBRAHIM Hakim 0.0 NaN 0 0.666667 2 \n",
"MADI Himidati 1.0 0 2 1.666667 2 \n",
"MARI Ismaël 3.0 3 3 2.333333 3 \n",
"MOHAMED Yousra 0.0 0 0 1.000000 3 \n",
"MOUHOUDHOIRE Nithaou 1.5 3 0 0.000000 NaN \n",
"SAINDOU Abdoul Anzize 0.0 0 0 0.333333 1 \n",
"SAÏD Hakim 3.0 3 3 3.000000 3 \n",
"SOIFENE Fémida 0.0 0 0 1.333333 2 \n",
"ZAKARIA Najwa 0.0 0 0 0.000000 0 \n",
"\n",
" Temps ... nbr virgule Dixieme 1 Dixieme 2 \\\n",
"ABDOU ALI Nassim 2 ... 0 2 2 \n",
"ABDOUL-KADER Toura 0 ... 2 0 0 \n",
"AHAMADI Djelane 3 ... 3 3 3 \n",
"AHMED Laine 3 ... 2 3 2 \n",
"AHMED Hamza 0 ... 3 3 3 \n",
"AHMED Aicha 3 ... 3 0 3 \n",
"ALI Naima 3 ... 3 3 3 \n",
"ANSSURDINE Zaidou NaN ... NaN NaN NaN \n",
"ARBABI Idiamine 0 ... 3 3 3 \n",
"ATTOUMANI Mtahida 0 ... 0 NaN NaN \n",
"BACAR Natacha 3 ... NaN 3 3 \n",
"BACAR Musbahou 3 ... 3 3 3 \n",
"BAHEDJA Rachma 3 ... 3 3 3 \n",
"CHAHARANE Djawadi 0 ... 3 3 3 \n",
"CHARIF Nassuria 1 ... 3 0 NaN \n",
"COMBO Danil 0 ... 3 0 0 \n",
"HOUMADI Naima 3 ... 0 2 2 \n",
"IBRAHIM Yanick 2 ... 3 3 3 \n",
"IBRAHIM Hakim 0 ... 2 2 2 \n",
"MADI Himidati 3 ... 0 0 3 \n",
"MARI Ismaël 3 ... 3 3 3 \n",
"MOHAMED Yousra NaN ... 0 3 3 \n",
"MOUHOUDHOIRE Nithaou NaN ... 0 NaN NaN \n",
"SAINDOU Abdoul Anzize 0 ... 3 0 NaN \n",
"SAÏD Hakim 3 ... 3 0 3 \n",
"SOIFENE Fémida 0 ... 0 0 3 \n",
"ZAKARIA Najwa 0 ... 3 0 0 \n",
"\n",
" Cinquième Demi Exercice 5 Symétrie axiale \\\n",
"ABDOU ALI Nassim 0 0 0.500000 1 \n",
"ABDOUL-KADER Toura 0 0 0.000000 0 \n",
"AHAMADI Djelane 3 3 5.000000 3 \n",
"AHMED Laine NaN 2 0.000000 NaN \n",
"AHMED Hamza 3 3 3.333333 3 \n",
"AHMED Aicha 3 3 0.000000 NaN \n",
"ALI Naima 3 0 5.000000 3 \n",
"ANSSURDINE Zaidou NaN NaN 0.000000 NaN \n",
"ARBABI Idiamine 0 3 2.166667 0 \n",
"ATTOUMANI Mtahida 0 NaN 2.500000 3 \n",
"BACAR Natacha 3 3 1.166667 1 \n",
"BACAR Musbahou 3 3 5.000000 3 \n",
"BAHEDJA Rachma 3 3 5.000000 3 \n",
"CHAHARANE Djawadi 3 3 3.666667 3 \n",
"CHARIF Nassuria NaN NaN 1.666667 2 \n",
"COMBO Danil 3 0 5.000000 3 \n",
"HOUMADI Naima 0 0 1.500000 2 \n",
"IBRAHIM Yanick 3 0 5.000000 3 \n",
"IBRAHIM Hakim 2 2 2.166667 2 \n",
"MADI Himidati 0 0 0.500000 1 \n",
"MARI Ismaël 0 0 4.333333 3 \n",
"MOHAMED Yousra 0 0 3.833333 2 \n",
"MOUHOUDHOIRE Nithaou NaN NaN 2.166667 3 \n",
"SAINDOU Abdoul Anzize NaN NaN 1.666667 2 \n",
"SAÏD Hakim 3 3 4.000000 3 \n",
"SOIFENE Fémida 0 0 2.000000 2 \n",
"ZAKARIA Najwa 0 0 0.500000 1 \n",
"\n",
" Symétrie centrale Codage Précision \n",
"ABDOU ALI Nassim 0 0 0 \n",
"ABDOUL-KADER Toura 0 0 0 \n",
"AHAMADI Djelane 3 3 3 \n",
"AHMED Laine NaN NaN NaN \n",
"AHMED Hamza 3 1 0 \n",
"AHMED Aicha NaN NaN NaN \n",
"ALI Naima 3 3 3 \n",
"ANSSURDINE Zaidou NaN NaN NaN \n",
"ARBABI Idiamine 3 0 2 \n",
"ATTOUMANI Mtahida 0 0 3 \n",
"BACAR Natacha 0 2 0 \n",
"BACAR Musbahou 3 3 3 \n",
"BAHEDJA Rachma 3 3 3 \n",
"CHAHARANE Djawadi 3 0 2 \n",
"CHARIF Nassuria 0 0 2 \n",
"COMBO Danil 3 3 3 \n",
"HOUMADI Naima 1 0 0 \n",
"IBRAHIM Yanick 3 3 3 \n",
"IBRAHIM Hakim 1 0 2 \n",
"MADI Himidati 0 0 0 \n",
"MARI Ismaël 3 1 3 \n",
"MOHAMED Yousra 3 2 2 \n",
"MOUHOUDHOIRE Nithaou 0 0 2 \n",
"SAINDOU Abdoul Anzize 0 0 2 \n",
"SAÏD Hakim 3 3 0 \n",
"SOIFENE Fémida 2 0 0 \n",
"ZAKARIA Najwa NaN NaN NaN \n",
"\n",
"[27 rows x 22 columns]"
]
},
"execution_count": 48,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"notes\n",
"#barem"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Supression des notes inutiles "
]
},
{
"cell_type": "code",
"execution_count": 49,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"notes = notes[notes[ds_name].notnull()]"
]
},
{
"cell_type": "code",
"execution_count": 50,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"notes = notes.astype(float)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Traitement des notes"
]
},
{
"cell_type": "code",
"execution_count": 51,
"metadata": {
"collapsed": false,
"scrolled": true
},
"outputs": [
{
"data": {
"text/plain": [
"Index(['DS_16_02_08', 'Exercice 1', 'Opération 1', 'Opération 2', 'Exercice 2',\n",
" 'Durée', 'Horaire', 'Exercice 3', 'Distance', 'Temps',\n",
" 'Distance (fraction)', 'Exercice 4', 'nbr virgule', 'Dixieme 1',\n",
" 'Dixieme 2', 'Cinquième', 'Demi', 'Exercice 5', 'Symétrie axiale',\n",
" 'Symétrie centrale', 'Codage', 'Précision'],\n",
" dtype='object')"
]
},
"execution_count": 51,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"notes.T.index"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Liste des exercices (non noté en compétences)"
]
},
{
"cell_type": "code",
"execution_count": 52,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/plain": [
"['Exercice 1', 'Exercice 2', 'Exercice 3', 'Exercice 4', 'Exercice 5']"
]
},
"execution_count": 52,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"nbr_exo = 5\n",
"list_exo = [\"Exercice \"+str(i+1) for i in range(nbr_exo)]\n",
"list_exo"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Les autres types de notes (presentation, malus...) qui ne sont pas en compétences"
]
},
{
"cell_type": "code",
"execution_count": 53,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"autres_notes = []"
]
},
{
"cell_type": "code",
"execution_count": 54,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>Exercice 1</th>\n",
" <th>Exercice 2</th>\n",
" <th>Exercice 3</th>\n",
" <th>Exercice 4</th>\n",
" <th>Exercice 5</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>ABDOU ALI Nassim</th>\n",
" <td>2.666667</td>\n",
" <td>2.5</td>\n",
" <td>0.666667</td>\n",
" <td>1.333333</td>\n",
" <td>0.500000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ABDOUL-KADER Toura</th>\n",
" <td>0.666667</td>\n",
" <td>0.0</td>\n",
" <td>0.666667</td>\n",
" <td>0.666667</td>\n",
" <td>0.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>AHAMADI Djelane</th>\n",
" <td>2.666667</td>\n",
" <td>0.0</td>\n",
" <td>2.333333</td>\n",
" <td>5.000000</td>\n",
" <td>5.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>AHMED Laine</th>\n",
" <td>3.333333</td>\n",
" <td>0.0</td>\n",
" <td>3.000000</td>\n",
" <td>3.000000</td>\n",
" <td>0.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>AHMED Hamza</th>\n",
" <td>2.000000</td>\n",
" <td>2.0</td>\n",
" <td>0.666667</td>\n",
" <td>5.000000</td>\n",
" <td>3.333333</td>\n",
" </tr>\n",
" <tr>\n",
" <th>AHMED Aicha</th>\n",
" <td>2.666667</td>\n",
" <td>1.5</td>\n",
" <td>3.000000</td>\n",
" <td>4.000000</td>\n",
" <td>0.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ALI Naima</th>\n",
" <td>2.666667</td>\n",
" <td>1.5</td>\n",
" <td>3.000000</td>\n",
" <td>4.000000</td>\n",
" <td>5.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ARBABI Idiamine</th>\n",
" <td>2.666667</td>\n",
" <td>3.0</td>\n",
" <td>1.333333</td>\n",
" <td>4.000000</td>\n",
" <td>2.166667</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ATTOUMANI Mtahida</th>\n",
" <td>2.666667</td>\n",
" <td>0.0</td>\n",
" <td>0.666667</td>\n",
" <td>0.000000</td>\n",
" <td>2.500000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>BACAR Natacha</th>\n",
" <td>2.666667</td>\n",
" <td>0.0</td>\n",
" <td>1.333333</td>\n",
" <td>4.000000</td>\n",
" <td>1.166667</td>\n",
" </tr>\n",
" <tr>\n",
" <th>BACAR Musbahou</th>\n",
" <td>4.000000</td>\n",
" <td>3.0</td>\n",
" <td>3.000000</td>\n",
" <td>5.000000</td>\n",
" <td>5.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>BAHEDJA Rachma</th>\n",
" <td>2.666667</td>\n",
" <td>3.0</td>\n",
" <td>2.333333</td>\n",
" <td>5.000000</td>\n",
" <td>5.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>CHAHARANE Djawadi</th>\n",
" <td>2.000000</td>\n",
" <td>0.0</td>\n",
" <td>1.000000</td>\n",
" <td>5.000000</td>\n",
" <td>3.666667</td>\n",
" </tr>\n",
" <tr>\n",
" <th>CHARIF Nassuria</th>\n",
" <td>1.333333</td>\n",
" <td>0.0</td>\n",
" <td>1.333333</td>\n",
" <td>1.000000</td>\n",
" <td>1.666667</td>\n",
" </tr>\n",
" <tr>\n",
" <th>COMBO Danil</th>\n",
" <td>2.000000</td>\n",
" <td>0.0</td>\n",
" <td>1.000000</td>\n",
" <td>2.000000</td>\n",
" <td>5.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>HOUMADI Naima</th>\n",
" <td>2.000000</td>\n",
" <td>3.0</td>\n",
" <td>1.666667</td>\n",
" <td>1.333333</td>\n",
" <td>1.500000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>IBRAHIM Yanick</th>\n",
" <td>3.333333</td>\n",
" <td>1.0</td>\n",
" <td>2.000000</td>\n",
" <td>4.000000</td>\n",
" <td>5.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>IBRAHIM Hakim</th>\n",
" <td>2.000000</td>\n",
" <td>0.0</td>\n",
" <td>0.666667</td>\n",
" <td>3.333333</td>\n",
" <td>2.166667</td>\n",
" </tr>\n",
" <tr>\n",
" <th>MADI Himidati</th>\n",
" <td>2.666667</td>\n",
" <td>1.0</td>\n",
" <td>1.666667</td>\n",
" <td>1.000000</td>\n",
" <td>0.500000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>MARI Ismaël</th>\n",
" <td>2.000000</td>\n",
" <td>3.0</td>\n",
" <td>2.333333</td>\n",
" <td>3.000000</td>\n",
" <td>4.333333</td>\n",
" </tr>\n",
" <tr>\n",
" <th>MOHAMED Yousra</th>\n",
" <td>2.000000</td>\n",
" <td>0.0</td>\n",
" <td>1.000000</td>\n",
" <td>2.000000</td>\n",
" <td>3.833333</td>\n",
" </tr>\n",
" <tr>\n",
" <th>MOUHOUDHOIRE Nithaou</th>\n",
" <td>2.000000</td>\n",
" <td>1.5</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>2.166667</td>\n",
" </tr>\n",
" <tr>\n",
" <th>SAINDOU Abdoul Anzize</th>\n",
" <td>1.333333</td>\n",
" <td>0.0</td>\n",
" <td>0.333333</td>\n",
" <td>1.000000</td>\n",
" <td>1.666667</td>\n",
" </tr>\n",
" <tr>\n",
" <th>SAÏD Hakim</th>\n",
" <td>3.333333</td>\n",
" <td>3.0</td>\n",
" <td>3.000000</td>\n",
" <td>4.000000</td>\n",
" <td>4.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>SOIFENE Fémida</th>\n",
" <td>0.666667</td>\n",
" <td>0.0</td>\n",
" <td>1.333333</td>\n",
" <td>1.000000</td>\n",
" <td>2.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ZAKARIA Najwa</th>\n",
" <td>4.000000</td>\n",
" <td>0.0</td>\n",
" <td>0.000000</td>\n",
" <td>1.000000</td>\n",
" <td>0.500000</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" Exercice 1 Exercice 2 Exercice 3 Exercice 4 \\\n",
"ABDOU ALI Nassim 2.666667 2.5 0.666667 1.333333 \n",
"ABDOUL-KADER Toura 0.666667 0.0 0.666667 0.666667 \n",
"AHAMADI Djelane 2.666667 0.0 2.333333 5.000000 \n",
"AHMED Laine 3.333333 0.0 3.000000 3.000000 \n",
"AHMED Hamza 2.000000 2.0 0.666667 5.000000 \n",
"AHMED Aicha 2.666667 1.5 3.000000 4.000000 \n",
"ALI Naima 2.666667 1.5 3.000000 4.000000 \n",
"ARBABI Idiamine 2.666667 3.0 1.333333 4.000000 \n",
"ATTOUMANI Mtahida 2.666667 0.0 0.666667 0.000000 \n",
"BACAR Natacha 2.666667 0.0 1.333333 4.000000 \n",
"BACAR Musbahou 4.000000 3.0 3.000000 5.000000 \n",
"BAHEDJA Rachma 2.666667 3.0 2.333333 5.000000 \n",
"CHAHARANE Djawadi 2.000000 0.0 1.000000 5.000000 \n",
"CHARIF Nassuria 1.333333 0.0 1.333333 1.000000 \n",
"COMBO Danil 2.000000 0.0 1.000000 2.000000 \n",
"HOUMADI Naima 2.000000 3.0 1.666667 1.333333 \n",
"IBRAHIM Yanick 3.333333 1.0 2.000000 4.000000 \n",
"IBRAHIM Hakim 2.000000 0.0 0.666667 3.333333 \n",
"MADI Himidati 2.666667 1.0 1.666667 1.000000 \n",
"MARI Ismaël 2.000000 3.0 2.333333 3.000000 \n",
"MOHAMED Yousra 2.000000 0.0 1.000000 2.000000 \n",
"MOUHOUDHOIRE Nithaou 2.000000 1.5 0.000000 0.000000 \n",
"SAINDOU Abdoul Anzize 1.333333 0.0 0.333333 1.000000 \n",
"SAÏD Hakim 3.333333 3.0 3.000000 4.000000 \n",
"SOIFENE Fémida 0.666667 0.0 1.333333 1.000000 \n",
"ZAKARIA Najwa 4.000000 0.0 0.000000 1.000000 \n",
"\n",
" Exercice 5 \n",
"ABDOU ALI Nassim 0.500000 \n",
"ABDOUL-KADER Toura 0.000000 \n",
"AHAMADI Djelane 5.000000 \n",
"AHMED Laine 0.000000 \n",
"AHMED Hamza 3.333333 \n",
"AHMED Aicha 0.000000 \n",
"ALI Naima 5.000000 \n",
"ARBABI Idiamine 2.166667 \n",
"ATTOUMANI Mtahida 2.500000 \n",
"BACAR Natacha 1.166667 \n",
"BACAR Musbahou 5.000000 \n",
"BAHEDJA Rachma 5.000000 \n",
"CHAHARANE Djawadi 3.666667 \n",
"CHARIF Nassuria 1.666667 \n",
"COMBO Danil 5.000000 \n",
"HOUMADI Naima 1.500000 \n",
"IBRAHIM Yanick 5.000000 \n",
"IBRAHIM Hakim 2.166667 \n",
"MADI Himidati 0.500000 \n",
"MARI Ismaël 4.333333 \n",
"MOHAMED Yousra 3.833333 \n",
"MOUHOUDHOIRE Nithaou 2.166667 \n",
"SAINDOU Abdoul Anzize 1.666667 \n",
"SAÏD Hakim 4.000000 \n",
"SOIFENE Fémida 2.000000 \n",
"ZAKARIA Najwa 0.500000 "
]
},
"execution_count": 54,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"notes[list_exo]"
]
},
{
"cell_type": "code",
"execution_count": 55,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>Exercice 1</th>\n",
" <th>Exercice 2</th>\n",
" <th>Exercice 3</th>\n",
" <th>Exercice 4</th>\n",
" <th>Exercice 5</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>ABDOU ALI Nassim</th>\n",
" <td>2.67</td>\n",
" <td>2.5</td>\n",
" <td>0.67</td>\n",
" <td>1.33</td>\n",
" <td>0.50</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ABDOUL-KADER Toura</th>\n",
" <td>0.67</td>\n",
" <td>0.0</td>\n",
" <td>0.67</td>\n",
" <td>0.67</td>\n",
" <td>0.00</td>\n",
" </tr>\n",
" <tr>\n",
" <th>AHAMADI Djelane</th>\n",
" <td>2.67</td>\n",
" <td>0.0</td>\n",
" <td>2.33</td>\n",
" <td>5.00</td>\n",
" <td>5.00</td>\n",
" </tr>\n",
" <tr>\n",
" <th>AHMED Laine</th>\n",
" <td>3.33</td>\n",
" <td>0.0</td>\n",
" <td>3.00</td>\n",
" <td>3.00</td>\n",
" <td>0.00</td>\n",
" </tr>\n",
" <tr>\n",
" <th>AHMED Hamza</th>\n",
" <td>2.00</td>\n",
" <td>2.0</td>\n",
" <td>0.67</td>\n",
" <td>5.00</td>\n",
" <td>3.33</td>\n",
" </tr>\n",
" <tr>\n",
" <th>AHMED Aicha</th>\n",
" <td>2.67</td>\n",
" <td>1.5</td>\n",
" <td>3.00</td>\n",
" <td>4.00</td>\n",
" <td>0.00</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ALI Naima</th>\n",
" <td>2.67</td>\n",
" <td>1.5</td>\n",
" <td>3.00</td>\n",
" <td>4.00</td>\n",
" <td>5.00</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ARBABI Idiamine</th>\n",
" <td>2.67</td>\n",
" <td>3.0</td>\n",
" <td>1.33</td>\n",
" <td>4.00</td>\n",
" <td>2.17</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ATTOUMANI Mtahida</th>\n",
" <td>2.67</td>\n",
" <td>0.0</td>\n",
" <td>0.67</td>\n",
" <td>0.00</td>\n",
" <td>2.50</td>\n",
" </tr>\n",
" <tr>\n",
" <th>BACAR Natacha</th>\n",
" <td>2.67</td>\n",
" <td>0.0</td>\n",
" <td>1.33</td>\n",
" <td>4.00</td>\n",
" <td>1.17</td>\n",
" </tr>\n",
" <tr>\n",
" <th>BACAR Musbahou</th>\n",
" <td>4.00</td>\n",
" <td>3.0</td>\n",
" <td>3.00</td>\n",
" <td>5.00</td>\n",
" <td>5.00</td>\n",
" </tr>\n",
" <tr>\n",
" <th>BAHEDJA Rachma</th>\n",
" <td>2.67</td>\n",
" <td>3.0</td>\n",
" <td>2.33</td>\n",
" <td>5.00</td>\n",
" <td>5.00</td>\n",
" </tr>\n",
" <tr>\n",
" <th>CHAHARANE Djawadi</th>\n",
" <td>2.00</td>\n",
" <td>0.0</td>\n",
" <td>1.00</td>\n",
" <td>5.00</td>\n",
" <td>3.67</td>\n",
" </tr>\n",
" <tr>\n",
" <th>CHARIF Nassuria</th>\n",
" <td>1.33</td>\n",
" <td>0.0</td>\n",
" <td>1.33</td>\n",
" <td>1.00</td>\n",
" <td>1.67</td>\n",
" </tr>\n",
" <tr>\n",
" <th>COMBO Danil</th>\n",
" <td>2.00</td>\n",
" <td>0.0</td>\n",
" <td>1.00</td>\n",
" <td>2.00</td>\n",
" <td>5.00</td>\n",
" </tr>\n",
" <tr>\n",
" <th>HOUMADI Naima</th>\n",
" <td>2.00</td>\n",
" <td>3.0</td>\n",
" <td>1.67</td>\n",
" <td>1.33</td>\n",
" <td>1.50</td>\n",
" </tr>\n",
" <tr>\n",
" <th>IBRAHIM Yanick</th>\n",
" <td>3.33</td>\n",
" <td>1.0</td>\n",
" <td>2.00</td>\n",
" <td>4.00</td>\n",
" <td>5.00</td>\n",
" </tr>\n",
" <tr>\n",
" <th>IBRAHIM Hakim</th>\n",
" <td>2.00</td>\n",
" <td>0.0</td>\n",
" <td>0.67</td>\n",
" <td>3.33</td>\n",
" <td>2.17</td>\n",
" </tr>\n",
" <tr>\n",
" <th>MADI Himidati</th>\n",
" <td>2.67</td>\n",
" <td>1.0</td>\n",
" <td>1.67</td>\n",
" <td>1.00</td>\n",
" <td>0.50</td>\n",
" </tr>\n",
" <tr>\n",
" <th>MARI Ismaël</th>\n",
" <td>2.00</td>\n",
" <td>3.0</td>\n",
" <td>2.33</td>\n",
" <td>3.00</td>\n",
" <td>4.33</td>\n",
" </tr>\n",
" <tr>\n",
" <th>MOHAMED Yousra</th>\n",
" <td>2.00</td>\n",
" <td>0.0</td>\n",
" <td>1.00</td>\n",
" <td>2.00</td>\n",
" <td>3.83</td>\n",
" </tr>\n",
" <tr>\n",
" <th>MOUHOUDHOIRE Nithaou</th>\n",
" <td>2.00</td>\n",
" <td>1.5</td>\n",
" <td>0.00</td>\n",
" <td>0.00</td>\n",
" <td>2.17</td>\n",
" </tr>\n",
" <tr>\n",
" <th>SAINDOU Abdoul Anzize</th>\n",
" <td>1.33</td>\n",
" <td>0.0</td>\n",
" <td>0.33</td>\n",
" <td>1.00</td>\n",
" <td>1.67</td>\n",
" </tr>\n",
" <tr>\n",
" <th>SAÏD Hakim</th>\n",
" <td>3.33</td>\n",
" <td>3.0</td>\n",
" <td>3.00</td>\n",
" <td>4.00</td>\n",
" <td>4.00</td>\n",
" </tr>\n",
" <tr>\n",
" <th>SOIFENE Fémida</th>\n",
" <td>0.67</td>\n",
" <td>0.0</td>\n",
" <td>1.33</td>\n",
" <td>1.00</td>\n",
" <td>2.00</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ZAKARIA Najwa</th>\n",
" <td>4.00</td>\n",
" <td>0.0</td>\n",
" <td>0.00</td>\n",
" <td>1.00</td>\n",
" <td>0.50</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" Exercice 1 Exercice 2 Exercice 3 Exercice 4 \\\n",
"ABDOU ALI Nassim 2.67 2.5 0.67 1.33 \n",
"ABDOUL-KADER Toura 0.67 0.0 0.67 0.67 \n",
"AHAMADI Djelane 2.67 0.0 2.33 5.00 \n",
"AHMED Laine 3.33 0.0 3.00 3.00 \n",
"AHMED Hamza 2.00 2.0 0.67 5.00 \n",
"AHMED Aicha 2.67 1.5 3.00 4.00 \n",
"ALI Naima 2.67 1.5 3.00 4.00 \n",
"ARBABI Idiamine 2.67 3.0 1.33 4.00 \n",
"ATTOUMANI Mtahida 2.67 0.0 0.67 0.00 \n",
"BACAR Natacha 2.67 0.0 1.33 4.00 \n",
"BACAR Musbahou 4.00 3.0 3.00 5.00 \n",
"BAHEDJA Rachma 2.67 3.0 2.33 5.00 \n",
"CHAHARANE Djawadi 2.00 0.0 1.00 5.00 \n",
"CHARIF Nassuria 1.33 0.0 1.33 1.00 \n",
"COMBO Danil 2.00 0.0 1.00 2.00 \n",
"HOUMADI Naima 2.00 3.0 1.67 1.33 \n",
"IBRAHIM Yanick 3.33 1.0 2.00 4.00 \n",
"IBRAHIM Hakim 2.00 0.0 0.67 3.33 \n",
"MADI Himidati 2.67 1.0 1.67 1.00 \n",
"MARI Ismaël 2.00 3.0 2.33 3.00 \n",
"MOHAMED Yousra 2.00 0.0 1.00 2.00 \n",
"MOUHOUDHOIRE Nithaou 2.00 1.5 0.00 0.00 \n",
"SAINDOU Abdoul Anzize 1.33 0.0 0.33 1.00 \n",
"SAÏD Hakim 3.33 3.0 3.00 4.00 \n",
"SOIFENE Fémida 0.67 0.0 1.33 1.00 \n",
"ZAKARIA Najwa 4.00 0.0 0.00 1.00 \n",
"\n",
" Exercice 5 \n",
"ABDOU ALI Nassim 0.50 \n",
"ABDOUL-KADER Toura 0.00 \n",
"AHAMADI Djelane 5.00 \n",
"AHMED Laine 0.00 \n",
"AHMED Hamza 3.33 \n",
"AHMED Aicha 0.00 \n",
"ALI Naima 5.00 \n",
"ARBABI Idiamine 2.17 \n",
"ATTOUMANI Mtahida 2.50 \n",
"BACAR Natacha 1.17 \n",
"BACAR Musbahou 5.00 \n",
"BAHEDJA Rachma 5.00 \n",
"CHAHARANE Djawadi 3.67 \n",
"CHARIF Nassuria 1.67 \n",
"COMBO Danil 5.00 \n",
"HOUMADI Naima 1.50 \n",
"IBRAHIM Yanick 5.00 \n",
"IBRAHIM Hakim 2.17 \n",
"MADI Himidati 0.50 \n",
"MARI Ismaël 4.33 \n",
"MOHAMED Yousra 3.83 \n",
"MOUHOUDHOIRE Nithaou 2.17 \n",
"SAINDOU Abdoul Anzize 1.67 \n",
"SAÏD Hakim 4.00 \n",
"SOIFENE Fémida 2.00 \n",
"ZAKARIA Najwa 0.50 "
]
},
"execution_count": 55,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"notes[list_exo].applymap(lambda x:round(x,2))"
]
},
{
"cell_type": "code",
"execution_count": 56,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"notes[list_exo] = notes[list_exo].applymap(lambda x:round(x,2))\n",
"#notes[list_exo]"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Les éléments avec notes et les éléments par compétences (sous_exo)"
]
},
{
"cell_type": "code",
"execution_count": 57,
"metadata": {
"collapsed": false,
"scrolled": true
},
"outputs": [
{
"data": {
"text/plain": [
"['Opération 1',\n",
" 'Opération 2',\n",
" 'Durée',\n",
" 'Horaire',\n",
" 'Distance',\n",
" 'Temps',\n",
" 'Distance (fraction)',\n",
" 'nbr virgule',\n",
" 'Dixieme 1',\n",
" 'Dixieme 2',\n",
" 'Cinquième',\n",
" 'Demi',\n",
" 'Symétrie axiale',\n",
" 'Symétrie centrale',\n",
" 'Codage',\n",
" 'Précision']"
]
},
"execution_count": 57,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"item_avec_note = list_exo + [ds_name] + autres_notes\n",
"sous_exo = [i for i in notes.T.index if i not in item_avec_note]\n",
"sous_exo"
]
},
{
"cell_type": "code",
"execution_count": 58,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"def toRepVal(val):\n",
" if pd.isnull(val):\n",
" return \"\\\\NoRep\"\n",
" elif val == 0:\n",
" return \"\\\\RepZ\"\n",
" elif val == 1:\n",
" return \"\\\\RepU\"\n",
" elif val == 2:\n",
" return \"\\\\RepD\"\n",
" elif val == 3:\n",
" return \"\\\\RepT\"\n",
" else:\n",
" return val"
]
},
{
"cell_type": "code",
"execution_count": 59,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"notes[item_avec_note] = notes[item_avec_note].fillna(\".\")\n",
"#notes"
]
},
{
"cell_type": "code",
"execution_count": 60,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"eleves = notes.copy()\n",
"eleves[sous_exo] = notes[sous_exo].applymap(toRepVal)"
]
},
{
"cell_type": "code",
"execution_count": 61,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/plain": [
"22"
]
},
"execution_count": 61,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"len(notes.T.index)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Preparation du fichier .tex"
]
},
{
"cell_type": "code",
"execution_count": 247,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"#eleves"
]
},
{
"cell_type": "code",
"execution_count": 21,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"bilan = texenv.get_template(\"tpl_bilan.tex\")\n",
"with open(\"./bilan\"+classe+\".tex\",\"w\") as f:\n",
" f.write(bilan.render(eleves = eleves, barem = barem, ds_name = ds_name, latex_info = latex_info, nbr_questions = len(barem.T)))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Un peu de statistiques"
]
},
{
"cell_type": "code",
"execution_count": 62,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/plain": [
"count 26.000000\n",
"mean 10.326923\n",
"std 4.766429\n",
"min 2.000000\n",
"25% 6.250000\n",
"50% 9.500000\n",
"75% 14.125000\n",
"max 20.000000\n",
"Name: DS_16_02_08, dtype: float64"
]
},
"execution_count": 62,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"notes[ds_name].describe()"
]
},
{
"cell_type": "code",
"execution_count": 63,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.text.Text at 0x7fafa4388940>"
]
},
"execution_count": 63,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAA7cAAAG5CAYAAABV8cNaAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3X+w5Wd9H/b3R9rKwcZge13jVDKCyOw6OEMEjlUROt11\nYIrAjORxQ0LWiXHsJEyKBJSpx4amaGknM60nITgrPDQOdgU2I9tMgpEMwUmw5PqXLCPJliu0VzDC\ngDE4laAucYfI4tM/7lmxWnb33q9W5z73uft6zdz5nu8533vuc79zn3vu+z7nfU51dwAAAGBmF4we\nAA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AAA0xNugQV0/mAUnVsYw8otzEO4BQAAYHrC\nLbCAzh+MonMLY1i5hXkItwAAAExPuAUW0PmDUXRuYQwrtzAP4RYAAIDpCbfAAjp/MIrOLYxh5Rbm\nIdwCAAAwPeEWWEDnD0bRuYUxrNzCPIRbAAAApifcAgvo/MEoOrcwhpVbmIdwCwAAwPSEW2ABnT8Y\nRecWxrByC/MQbgEAAJiecAssoPMHo+jcwhhWbmEewi0AAADTE26BBXT+YBSdWxjDyi3MQ7gFAABg\nesItsIDOH4yicwtjWLmFeQi3AAAATE+4BRbQ+YNRdG5hDCu3MA/hFgAAgOkJt8ACOn8wis4tjGHl\nFuYh3AIAADA94RZYQOcPRtG5hTGs3MI8hFsAAACmJ9wCC+j8wSg6tzCGlVuYh3ALAADA9IRbYAGd\nPxhF5xbGsHIL8xBuAQAAmJ5wCyyg8wej6NzCGFZuYR7CLQAAANMTboEFdP5gFJ1bGMPKLcxjreG2\nqi6pqg9V1b1VdU9VveY
"text/plain": [
"<matplotlib.figure.Figure at 0x7fafa509c208>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"#notes_seules = notes[ds_name]\n",
"ax = notes[ds_name].hist(bins = barem[ds_name][0], range=(0,barem[ds_name][0]), figsize = (16,7), )\n",
"ax.set_xlabel(\"Notes\")\n",
"ax.set_ylabel(\"Effectif\")\n",
"#notes_seules.hist()"
]
},
{
"cell_type": "code",
"execution_count": 64,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7fafa4363b70>"
]
},
"execution_count": 64,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAA78AAAGrCAYAAAAIOCA+AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzsvVlUVFm6qPsFPSKd0vcQ2NAjvSCCXZr2iZVZmW6ralfm\nOGfvh/t2ns64+9x96+2O83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LDBMeU3/UD8F5QW0aluVSbiNjQ2hAaHk\npuWK6g3BpuTJsyf8/PBnwHgunj95nusF12nQNHAi5wRxO+NM+hy9Xk9RRRFlT8tQqVRk7ckic0/m\ngvO/s6eT/Mf59A32LWhUZ2tjS0hACEf3HcXD1cOyX1AgWCUGRwa5X3af1s5WZQFYpVIR6h9KTlrO\ngkn1fGRZ5lL+JV60vQAgNy2XjISMJR9/Tj9HSU0JpTWl6A16XJxdmNHNYDAYcHZ0JikmieSYZLY4\nbTH/SwoEVkRjayNltWW87H+54J7i7enNnug9JO5OfG+Co62rjR9u/YAKFZ8f/5xgv+AFz4vgd/4g\n5gW/gyOD/Pvf/x23rW5CfSTY0ExMTRibVXVoaOtqU4JXezt7wgLDiAyJJCI4AlcX17e+f2B4gIt3\nLiqBsssWF07lnOJxzWPau9sBOLT3EKmxqWaNr/pZNbce3sLezh6DwYCMzP6U/WQkZCyoypAkiepn\n1ZQ/LV9QEuPi7ELC7gQyEzPfW2otEGwU7pXeo6y2DICYyBhOHThFV28Xf736V/y8/PjHT/5xyRVN\n7d3t3Ci4wdjkGAE+AZzMPck2921vvK6xpZGiiqIFC2cg1EmC9YUkSZTWllLVUMX45LjyuJuLG0kx\nSaTFpX2wuqigrICSmhL
"text/plain": [
"<matplotlib.figure.Figure at 0x7fafa43a4128>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"# Normalisation des notes de chaque exo\n",
"notes_exo_norm = notes[list_exo] / barem[list_exo].values[0,:]\n",
"#notes_exo_norm\n",
"ax = notes_exo_norm.T.plot(color = \"gray\", legend = False, figsize = (16, 7))\n",
"d_norm = notes_exo_norm.describe()\n",
"d_norm.T[[\"min\", \"25%\", \"50%\", \"75%\", \"max\"]].plot(ax=ax, kind=\"area\", stacked = False, alpha=.1)"
]
},
{
"cell_type": "code",
"execution_count": 65,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAA6AAAAHsCAYAAADMwM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nT\nIyJ+C7hvWOVz4B0DwwyH+2vT/7u+6bm5uYH+7E477bTTTo9remZmhoh4cFiTsm13VxuwD+hUsh/h\n9HLdTa82H1My19ZHxGHsZfPpDPQB7f/vtcAXgOMLfkYDjgkrDfYBrVLXc9D15c80B5nmYC3l+/q1\nVV8lSdKUWLps2ZuI2Aa8BfipzPxhbVFJkjqlUB/QkT/UPqCdZj/C6eW607jZB7QZIuISeu1lNwB3\nAjuBtwPHAQf6s/11Zv7rIZ9jH1BJ0mSfAypJkqZbZm5f4d/vrzwQSVLnFboJkQ4b7IzbNm1eNoD5\n+fm6Q5gY1930avu6k9rGfdYcdH35wRyAOViLoRXQiNgUEXsi4iv98fci4rwqgpMkSZIktcdIfUAj\n4hjgduAFmXnbKvPZB7TD7Ec4vVx3Gjf7gLaLfUAlSVDBc0AHvAzYt1rlU5IkSZKklYxaAf1F4M8m\nEci0aHN77zYvG9iPcJq57iQ1hfusOej68oM5AHOwFoUroBFxLHA28JGC8z84zMzMHLGS5ubmnG7x\ndK+yMFhhmOsPdU4fjqfu/ExiemFhYWyf18vV4PRczdPzXHXVVUeNd9qnFxYWGhXPWqdnZmaOOP5L\nkiQNKtwHNCLOBv51Zm4rMK99QDvMfoTTy3WncbMPaLvYB1SSBNX1Af0lOt78VpIkSZJUXqEKaEQ8\njN4NiP58suE035FNFdulzcsG9iOcZq47SU3hPmsOur78YA7AHKxFoQpoZt6bmY/NzL+bdECSJGm8\nIuKiiLgzIr428L9HRcS
"text/plain": [
"<matplotlib.figure.Figure at 0x7fafa446fac8>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"ax = notes[list_exo].hist(figsize = (16,8))"
]
},
{
"cell_type": "code",
"execution_count": 66,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>Opération 1</th>\n",
" <th>Opération 2</th>\n",
" <th>Durée</th>\n",
" <th>Horaire</th>\n",
" <th>Distance</th>\n",
" <th>Temps</th>\n",
" <th>Distance (fraction)</th>\n",
" <th>nbr virgule</th>\n",
" <th>Dixieme 1</th>\n",
" <th>Dixieme 2</th>\n",
" <th>Cinquième</th>\n",
" <th>Demi</th>\n",
" <th>Symétrie axiale</th>\n",
" <th>Symétrie centrale</th>\n",
" <th>Codage</th>\n",
" <th>Précision</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>count</th>\n",
" <td>26.000000</td>\n",
" <td>26.000000</td>\n",
" <td>25.000000</td>\n",
" <td>25.00</td>\n",
" <td>25.000000</td>\n",
" <td>24.000000</td>\n",
" <td>23.000000</td>\n",
" <td>25.000000</td>\n",
" <td>24.000000</td>\n",
" <td>22.000000</td>\n",
" <td>22.000000</td>\n",
" <td>22.000000</td>\n",
" <td>24.000000</td>\n",
" <td>23.000000</td>\n",
" <td>23.000000</td>\n",
" <td>23.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>mean</th>\n",
" <td>2.269231</td>\n",
" <td>1.307692</td>\n",
" <td>1.040000</td>\n",
" <td>1.28</td>\n",
" <td>2.240000</td>\n",
" <td>1.583333</td>\n",
" <td>1.043478</td>\n",
" <td>2.040000</td>\n",
" <td>1.750000</td>\n",
" <td>2.409091</td>\n",
" <td>1.590909</td>\n",
" <td>1.409091</td>\n",
" <td>2.166667</td>\n",
" <td>1.739130</td>\n",
" <td>1.173913</td>\n",
" <td>1.652174</td>\n",
" </tr>\n",
" <tr>\n",
" <th>std</th>\n",
" <td>1.002305</td>\n",
" <td>0.884047</td>\n",
" <td>1.398809</td>\n",
" <td>1.40</td>\n",
" <td>1.051982</td>\n",
" <td>1.442120</td>\n",
" <td>1.223938</td>\n",
" <td>1.337909</td>\n",
" <td>1.421879</td>\n",
" <td>1.053750</td>\n",
" <td>1.501082</td>\n",
" <td>1.469016</td>\n",
" <td>1.007220</td>\n",
" <td>1.421184</td>\n",
" <td>1.370208</td>\n",
" <td>1.300654</td>\n",
" </tr>\n",
" <tr>\n",
" <th>min</th>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.00</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>25%</th>\n",
" <td>2.000000</td>\n",
" <td>1.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.00</td>\n",
" <td>2.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>2.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>1.750000</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>50%</th>\n",
" <td>3.000000</td>\n",
" <td>1.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.00</td>\n",
" <td>3.000000</td>\n",
" <td>2.000000</td>\n",
" <td>1.000000</td>\n",
" <td>3.000000</td>\n",
" <td>2.500000</td>\n",
" <td>3.000000</td>\n",
" <td>2.500000</td>\n",
" <td>1.000000</td>\n",
" <td>2.500000</td>\n",
" <td>3.000000</td>\n",
" <td>0.000000</td>\n",
" <td>2.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>75%</th>\n",
" <td>3.000000</td>\n",
" <td>1.750000</td>\n",
" <td>3.000000</td>\n",
" <td>3.00</td>\n",
" <td>3.000000</td>\n",
" <td>3.000000</td>\n",
" <td>2.000000</td>\n",
" <td>3.000000</td>\n",
" <td>3.000000</td>\n",
" <td>3.000000</td>\n",
" <td>3.000000</td>\n",
" <td>3.000000</td>\n",
" <td>3.000000</td>\n",
" <td>3.000000</td>\n",
" <td>3.000000</td>\n",
" <td>3.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>max</th>\n",
" <td>3.000000</td>\n",
" <td>3.000000</td>\n",
" <td>3.000000</td>\n",
" <td>3.00</td>\n",
" <td>3.000000</td>\n",
" <td>3.000000</td>\n",
" <td>3.000000</td>\n",
" <td>3.000000</td>\n",
" <td>3.000000</td>\n",
" <td>3.000000</td>\n",
" <td>3.000000</td>\n",
" <td>3.000000</td>\n",
" <td>3.000000</td>\n",
" <td>3.000000</td>\n",
" <td>3.000000</td>\n",
" <td>3.000000</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" Opération 1 Opération 2 Durée Horaire Distance Temps \\\n",
"count 26.000000 26.000000 25.000000 25.00 25.000000 24.000000 \n",
"mean 2.269231 1.307692 1.040000 1.28 2.240000 1.583333 \n",
"std 1.002305 0.884047 1.398809 1.40 1.051982 1.442120 \n",
"min 0.000000 0.000000 0.000000 0.00 0.000000 0.000000 \n",
"25% 2.000000 1.000000 0.000000 0.00 2.000000 0.000000 \n",
"50% 3.000000 1.000000 0.000000 0.00 3.000000 2.000000 \n",
"75% 3.000000 1.750000 3.000000 3.00 3.000000 3.000000 \n",
"max 3.000000 3.000000 3.000000 3.00 3.000000 3.000000 \n",
"\n",
" Distance (fraction) nbr virgule Dixieme 1 Dixieme 2 Cinquième \\\n",
"count 23.000000 25.000000 24.000000 22.000000 22.000000 \n",
"mean 1.043478 2.040000 1.750000 2.409091 1.590909 \n",
"std 1.223938 1.337909 1.421879 1.053750 1.501082 \n",
"min 0.000000 0.000000 0.000000 0.000000 0.000000 \n",
"25% 0.000000 0.000000 0.000000 2.000000 0.000000 \n",
"50% 1.000000 3.000000 2.500000 3.000000 2.500000 \n",
"75% 2.000000 3.000000 3.000000 3.000000 3.000000 \n",
"max 3.000000 3.000000 3.000000 3.000000 3.000000 \n",
"\n",
" Demi Symétrie axiale Symétrie centrale Codage Précision \n",
"count 22.000000 24.000000 23.000000 23.000000 23.000000 \n",
"mean 1.409091 2.166667 1.739130 1.173913 1.652174 \n",
"std 1.469016 1.007220 1.421184 1.370208 1.300654 \n",
"min 0.000000 0.000000 0.000000 0.000000 0.000000 \n",
"25% 0.000000 1.750000 0.000000 0.000000 0.000000 \n",
"50% 1.000000 2.500000 3.000000 0.000000 2.000000 \n",
"75% 3.000000 3.000000 3.000000 3.000000 3.000000 \n",
"max 3.000000 3.000000 3.000000 3.000000 3.000000 "
]
},
"execution_count": 66,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"notes_questions = notes[sous_exo]\n",
"notes_analysis = notes_questions.describe()\n",
"notes_analysis"
]
},
{
"cell_type": "code",
"execution_count": 67,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>Opération 1</th>\n",
" <th>Opération 2</th>\n",
" <th>Durée</th>\n",
" <th>Horaire</th>\n",
" <th>Distance</th>\n",
" <th>Temps</th>\n",
" <th>Distance (fraction)</th>\n",
" <th>nbr virgule</th>\n",
" <th>Dixieme 1</th>\n",
" <th>Dixieme 2</th>\n",
" <th>Cinquième</th>\n",
" <th>Demi</th>\n",
" <th>Symétrie axiale</th>\n",
" <th>Symétrie centrale</th>\n",
" <th>Codage</th>\n",
" <th>Précision</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>count</th>\n",
" <td>26</td>\n",
" <td>26</td>\n",
" <td>25</td>\n",
" <td>25</td>\n",
" <td>25</td>\n",
" <td>24</td>\n",
" <td>23</td>\n",
" <td>25</td>\n",
" <td>24</td>\n",
" <td>22</td>\n",
" <td>22</td>\n",
" <td>22</td>\n",
" <td>24</td>\n",
" <td>23</td>\n",
" <td>23</td>\n",
" <td>23</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" Opération 1 Opération 2 Durée Horaire Distance Temps \\\n",
"count 26 26 25 25 25 24 \n",
"\n",
" Distance (fraction) nbr virgule Dixieme 1 Dixieme 2 Cinquième \\\n",
"count 23 25 24 22 22 \n",
"\n",
" Demi Symétrie axiale Symétrie centrale Codage Précision \n",
"count 22 24 23 23 23 "
]
},
"execution_count": 67,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# J'aimerai récupérer le nom des questions qui ont été le moins répondus\n",
"notes_analysis[:1]"
]
},
{
"cell_type": "markdown",
"metadata": {
"collapsed": true
},
"source": [
"## Bilan à remplir"
]
},
{
"cell_type": "code",
"execution_count": 21,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"bilan = texenv.get_template(\"tpl_bilan.tex\")\n",
"with open(\"./fill_bilan.tex\",\"w\") as f:\n",
" f.write(bilan.render(eleves = [(\"Nom\",, barem = barem, ds_name = ds_name, latex_info = latex_info, nbr_questions = len(barem.T)))"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.1"
}
},
"nbformat": 4,
"nbformat_minor": 0
}