2015-2016/3e/DM/DM_16_01_29/Bilan/Bilan313.ipynb

1876 lines
218 KiB
Plaintext
Raw Normal View History

2017-06-16 06:48:54 +00:00
{
"cells": [
{
"cell_type": "code",
"execution_count": 23,
"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\")\n",
"from IPython.core.pylabtools import figsize\n",
"figsize = (16, 8)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Informations sur le devoir"
]
},
{
"cell_type": "code",
"execution_count": 24,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/plain": [
"{'classe': '313', 'date': '29 janvier 2016', 'titre': 'DM 4'}"
]
},
"execution_count": 24,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"ds_name = \"DM_16_01_29\"\n",
"classe = \"313\"\n",
"\n",
"latex_info = {}\n",
"latex_info['titre'] = \"DM 4\"\n",
"latex_info['classe'] = \"313\"\n",
"latex_info['date'] = \"29 janvier 2016\"\n",
"latex_info"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Import et premiers traitements"
]
},
{
"cell_type": "code",
"execution_count": 25,
"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": 26,
"metadata": {
"collapsed": false,
"scrolled": true
},
"outputs": [
{
"data": {
"text/plain": [
"Index(['DM_16_01_29', 'Malus', 'Exercice 1', '1.1 Developper',\n",
" '1.2 Developper', '1.3 Double developpement', '1.4 Developpement carré',\n",
" 'Exercice 2', '2.1 Addition fraction', '2.2 Addition fractions',\n",
" '2.3 Multiplication Fraction', '2.4 Multiplication Fraction',\n",
" 'Exercice 3', '1 (developper)', '2 (multiplication)', 'Exercice 4',\n",
" 'Comparaison', 'Pythagore', 'Thalès'],\n",
" dtype='object')"
]
},
"execution_count": 26,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"notes.index"
]
},
{
"cell_type": "code",
"execution_count": 27,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"notes = notes.T"
]
},
{
"cell_type": "code",
"execution_count": 28,
"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": 29,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"barem = notes[:1]\n",
"notes = notes[1:]"
]
},
{
"cell_type": "code",
"execution_count": 30,
"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>DM_16_01_29</th>\n",
" <th>Malus</th>\n",
" <th>Exercice 1</th>\n",
" <th>1.1 Developper</th>\n",
" <th>1.2 Developper</th>\n",
" <th>1.3 Double developpement</th>\n",
" <th>1.4 Developpement carré</th>\n",
" <th>Exercice 2</th>\n",
" <th>2.1 Addition fraction</th>\n",
" <th>2.2 Addition fractions</th>\n",
" <th>2.3 Multiplication Fraction</th>\n",
" <th>2.4 Multiplication Fraction</th>\n",
" <th>Exercice 3</th>\n",
" <th>1 (developper)</th>\n",
" <th>2 (multiplication)</th>\n",
" <th>Exercice 4</th>\n",
" <th>Comparaison</th>\n",
" <th>Pythagore</th>\n",
" <th>Thalès</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>ABDALLAH Touraya</th>\n",
" <td>8.5</td>\n",
" <td>NaN</td>\n",
" <td>4.0</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>1</td>\n",
" <td>3</td>\n",
" <td>1.666667</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>1</td>\n",
" <td>0</td>\n",
" <td>0.666667</td>\n",
" <td>2</td>\n",
" <td>NaN</td>\n",
" <td>2.000000</td>\n",
" <td>0</td>\n",
" <td>1</td>\n",
" <td>1</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ABDOU Mariam</th>\n",
" <td>20.0</td>\n",
" <td>NaN</td>\n",
" <td>6.0</td>\n",
" <td>3</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>3</td>\n",
" <td>3.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>7.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ABTOIHI SAID Yasmina</th>\n",
" <td>13.5</td>\n",
" <td>-2</td>\n",
" <td>4.0</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>3.000000</td>\n",
" <td>0</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>2.333333</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>6.000000</td>\n",
" <td>0</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>AHAMED Anssuifidine</th>\n",
" <td>16.0</td>\n",
" <td>NaN</td>\n",
" <td>5.0</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>3.333333</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>0.666667</td>\n",
" <td>2</td>\n",
" <td>NaN</td>\n",
" <td>7.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>AHAMED Issihaka</th>\n",
" <td>16.0</td>\n",
" <td>NaN</td>\n",
" <td>5.5</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>3.666667</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>1.000000</td>\n",
" <td>3</td>\n",
" <td>NaN</td>\n",
" <td>6.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>AHMED ABDOU El-Karim</th>\n",
" <td>10.0</td>\n",
" <td>NaN</td>\n",
" <td>5.5</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3.666667</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>1.000000</td>\n",
" <td>3</td>\n",
" <td>NaN</td>\n",
" <td>0.000000</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ANDILI Chayhati</th>\n",
" <td>9.5</td>\n",
" <td>NaN</td>\n",
" <td>3.0</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>1.333333</td>\n",
" <td>0</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>NaN</td>\n",
" <td>0.000000</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>5.000000</td>\n",
" <td>NaN</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ANDJILANE Rachma</th>\n",
" <td>17.5</td>\n",
" <td>NaN</td>\n",
" <td>5.0</td>\n",
" <td>1</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>3</td>\n",
" <td>1.666667</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" <td>7.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ANLI Koudoussia</th>\n",
" <td>14.5</td>\n",
" <td>NaN</td>\n",
" <td>4.0</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>0</td>\n",
" <td>3.333333</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>1.000000</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>6.333333</td>\n",
" <td>1</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ATTOUMANI Hanissa</th>\n",
" <td>18.5</td>\n",
" <td>NaN</td>\n",
" <td>5.5</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3.000000</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>3.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>7.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>BACO ABDALLAH Moustadirane</th>\n",
" <td>15.5</td>\n",
" <td>-2</td>\n",
" <td>6.0</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>3</td>\n",
" <td>2</td>\n",
" <td>2.333333</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>5.333333</td>\n",
" <td>1</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>BINALI Maoulida</th>\n",
" <td>16.0</td>\n",
" <td>NaN</td>\n",
" <td>4.5</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>3.333333</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>2.333333</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>6.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>BOINA Ainati</th>\n",
" <td>16.0</td>\n",
" <td>NaN</td>\n",
" <td>4.5</td>\n",
" <td>2</td>\n",
" <td>1</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>3</td>\n",
" <td>0.666667</td>\n",
" <td>2</td>\n",
" <td>0</td>\n",
" <td>7.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>BOINA HASSANI Nahimi</th>\n",
" <td>11.5</td>\n",
" <td>-2</td>\n",
" <td>6.0</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3.666667</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>1.000000</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>3.000000</td>\n",
" <td>NaN</td>\n",
" <td>2</td>\n",
" <td>1</td>\n",
" </tr>\n",
" <tr>\n",
" <th>DAOUD El-Farouk</th>\n",
" <td>16.0</td>\n",
" <td>NaN</td>\n",
" <td>5.5</td>\n",
" <td>2</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>2</td>\n",
" <td>3</td>\n",
" <td>2.333333</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>4.333333</td>\n",
" <td>1</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" </tr>\n",
" <tr>\n",
" <th>DJADAR Ifrah</th>\n",
" <td>11.5</td>\n",
" <td>-2</td>\n",
" <td>5.0</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3.333333</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>0.000000</td>\n",
" <td>0</td>\n",
" <td>NaN</td>\n",
" <td>5.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" </tr>\n",
" <tr>\n",
" <th>HALIBOU Nafilati</th>\n",
" <td>8.5</td>\n",
" <td>NaN</td>\n",
" <td>2.5</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>1.666667</td>\n",
" <td>0</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>0</td>\n",
" <td>0.333333</td>\n",
" <td>1</td>\n",
" <td>NaN</td>\n",
" <td>4.000000</td>\n",
" <td>NaN</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" </tr>\n",
" <tr>\n",
" <th>HALIDI Tomsoyère</th>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>0.0</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",
" <td>0.000000</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",
" </tr>\n",
" <tr>\n",
" <th>HOUMADI Himida</th>\n",
" <td>11.5</td>\n",
" <td>NaN</td>\n",
" <td>3.0</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>3.000000</td>\n",
" <td>1</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>1.333333</td>\n",
" <td>2</td>\n",
" <td>1</td>\n",
" <td>4.000000</td>\n",
" <td>NaN</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" </tr>\n",
" <tr>\n",
" <th>HOUMADI Antufati</th>\n",
" <td>17.5</td>\n",
" <td>NaN</td>\n",
" <td>6.0</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3.333333</td>\n",
" <td>1</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>1.000000</td>\n",
" <td>1</td>\n",
" <td>1</td>\n",
" <td>7.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>HOUMADI ABDALLAH Abdallah</th>\n",
" <td>16.0</td>\n",
" <td>NaN</td>\n",
" <td>4.0</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>3.333333</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>3.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>5.666667</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>IBRAHIM Laoura</th>\n",
" <td>12.5</td>\n",
" <td>NaN</td>\n",
" <td>5.0</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3.000000</td>\n",
" <td>0</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>0.000000</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>4.333333</td>\n",
" <td>1</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" </tr>\n",
" <tr>\n",
" <th>MALIDE ABDOU Nasser</th>\n",
" <td>17.5</td>\n",
" <td>NaN</td>\n",
" <td>6.0</td>\n",
" <td>3</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>3</td>\n",
" <td>0.666667</td>\n",
" <td>0</td>\n",
" <td>1</td>\n",
" <td>7.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>MALIDE Younes</th>\n",
" <td>18.5</td>\n",
" <td>NaN</td>\n",
" <td>6.0</td>\n",
" <td>3</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>3</td>\n",
" <td>1.666667</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" <td>7.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>MOENY MOKO Nadjma</th>\n",
" <td>18.5</td>\n",
" <td>NaN</td>\n",
" <td>6.0</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3.000000</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>2.666667</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>7.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>MOUGNIDAHO Nouriana</th>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>0.0</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",
" <td>0.000000</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",
" </tr>\n",
" <tr>\n",
" <th>MOURTADJOU El-Fazar</th>\n",
" <td>15.5</td>\n",
" <td>NaN</td>\n",
" <td>6.0</td>\n",
" <td>3</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>3</td>\n",
" <td>1.666667</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" <td>4.000000</td>\n",
" <td>NaN</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" </tr>\n",
" <tr>\n",
" <th>SAGAF Amal</th>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>0.0</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",
" <td>0.000000</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",
" </tr>\n",
" <tr>\n",
" <th>SAID Chamsoudine</th>\n",
" <td>19.0</td>\n",
" <td>NaN</td>\n",
" <td>5.5</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3.666667</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>3.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>6.666667</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>YANCOUB Toufa</th>\n",
" <td>17.5</td>\n",
" <td>NaN</td>\n",
" <td>5.5</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>3.000000</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>3.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>6.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>YOUSSOUF Asma</th>\n",
" <td>12.0</td>\n",
" <td>NaN</td>\n",
" <td>3.5</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>0</td>\n",
" <td>1.666667</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>2</td>\n",
" <td>0</td>\n",
" <td>1.000000</td>\n",
" <td>1</td>\n",
" <td>1</td>\n",
" <td>6.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" DM_16_01_29 Malus Exercice 1 1.1 Developper \\\n",
"ABDALLAH Touraya 8.5 NaN 4.0 2 \n",
"ABDOU Mariam 20.0 NaN 6.0 3 \n",
"ABTOIHI SAID Yasmina 13.5 -2 4.0 2 \n",
"AHAMED Anssuifidine 16.0 NaN 5.0 3 \n",
"AHAMED Issihaka 16.0 NaN 5.5 3 \n",
"AHMED ABDOU El-Karim 10.0 NaN 5.5 3 \n",
"ANDILI Chayhati 9.5 NaN 3.0 3 \n",
"ANDJILANE Rachma 17.5 NaN 5.0 1 \n",
"ANLI Koudoussia 14.5 NaN 4.0 3 \n",
"ATTOUMANI Hanissa 18.5 NaN 5.5 3 \n",
"BACO ABDALLAH Moustadirane 15.5 -2 6.0 3 \n",
"BINALI Maoulida 16.0 NaN 4.5 3 \n",
"BOINA Ainati 16.0 NaN 4.5 2 \n",
"BOINA HASSANI Nahimi 11.5 -2 6.0 3 \n",
"DAOUD El-Farouk 16.0 NaN 5.5 2 \n",
"DJADAR Ifrah 11.5 -2 5.0 2 \n",
"HALIBOU Nafilati 8.5 NaN 2.5 3 \n",
"HALIDI Tomsoyère NaN NaN 0.0 NaN \n",
"HOUMADI Himida 11.5 NaN 3.0 3 \n",
"HOUMADI Antufati 17.5 NaN 6.0 3 \n",
"HOUMADI ABDALLAH Abdallah 16.0 NaN 4.0 2 \n",
"IBRAHIM Laoura 12.5 NaN 5.0 2 \n",
"MALIDE ABDOU Nasser 17.5 NaN 6.0 3 \n",
"MALIDE Younes 18.5 NaN 6.0 3 \n",
"MOENY MOKO Nadjma 18.5 NaN 6.0 3 \n",
"MOUGNIDAHO Nouriana NaN NaN 0.0 NaN \n",
"MOURTADJOU El-Fazar 15.5 NaN 6.0 3 \n",
"SAGAF Amal NaN NaN 0.0 NaN \n",
"SAID Chamsoudine 19.0 NaN 5.5 3 \n",
"YANCOUB Toufa 17.5 NaN 5.5 3 \n",
"YOUSSOUF Asma 12.0 NaN 3.5 3 \n",
"\n",
" 1.2 Developper 1.3 Double developpement \\\n",
"ABDALLAH Touraya 2 1 \n",
"ABDOU Mariam 3 3 \n",
"ABTOIHI SAID Yasmina 2 2 \n",
"AHAMED Anssuifidine 3 2 \n",
"AHAMED Issihaka 3 3 \n",
"AHMED ABDOU El-Karim 2 3 \n",
"ANDILI Chayhati 3 0 \n",
"ANDJILANE Rachma 3 3 \n",
"ANLI Koudoussia 3 2 \n",
"ATTOUMANI Hanissa 2 3 \n",
"BACO ABDALLAH Moustadirane 3 3 \n",
"BINALI Maoulida 3 3 \n",
"BOINA Ainati 1 3 \n",
"BOINA HASSANI Nahimi 3 3 \n",
"DAOUD El-Farouk 3 3 \n",
"DJADAR Ifrah 2 3 \n",
"HALIBOU Nafilati 2 0 \n",
"HALIDI Tomsoyère NaN NaN \n",
"HOUMADI Himida 3 0 \n",
"HOUMADI Antufati 3 3 \n",
"HOUMADI ABDALLAH Abdallah 2 2 \n",
"IBRAHIM Laoura 2 3 \n",
"MALIDE ABDOU Nasser 3 3 \n",
"MALIDE Younes 3 3 \n",
"MOENY MOKO Nadjma 3 3 \n",
"MOUGNIDAHO Nouriana NaN NaN \n",
"MOURTADJOU El-Fazar 3 3 \n",
"SAGAF Amal NaN NaN \n",
"SAID Chamsoudine 2 3 \n",
"YANCOUB Toufa 3 3 \n",
"YOUSSOUF Asma 2 2 \n",
"\n",
" 1.4 Developpement carré Exercice 2 \\\n",
"ABDALLAH Touraya 3 1.666667 \n",
"ABDOU Mariam 3 4.000000 \n",
"ABTOIHI SAID Yasmina 2 3.000000 \n",
"AHAMED Anssuifidine 2 3.333333 \n",
"AHAMED Issihaka 2 3.666667 \n",
"AHMED ABDOU El-Karim 3 3.666667 \n",
"ANDILI Chayhati 0 1.333333 \n",
"ANDJILANE Rachma 3 4.000000 \n",
"ANLI Koudoussia 0 3.333333 \n",
"ATTOUMANI Hanissa 3 3.000000 \n",
"BACO ABDALLAH Moustadirane 3 3.666667 \n",
"BINALI Maoulida 0 3.333333 \n",
"BOINA Ainati 3 4.000000 \n",
"BOINA HASSANI Nahimi 3 3.666667 \n",
"DAOUD El-Farouk 3 3.666667 \n",
"DJADAR Ifrah 3 3.333333 \n",
"HALIBOU Nafilati 0 1.666667 \n",
"HALIDI Tomsoyère NaN 0.000000 \n",
"HOUMADI Himida 0 3.000000 \n",
"HOUMADI Antufati 3 3.333333 \n",
"HOUMADI ABDALLAH Abdallah 2 3.333333 \n",
"IBRAHIM Laoura 3 3.000000 \n",
"MALIDE ABDOU Nasser 3 4.000000 \n",
"MALIDE Younes 3 4.000000 \n",
"MOENY MOKO Nadjma 3 3.000000 \n",
"MOUGNIDAHO Nouriana NaN 0.000000 \n",
"MOURTADJOU El-Fazar 3 4.000000 \n",
"SAGAF Amal NaN 0.000000 \n",
"SAID Chamsoudine 3 3.666667 \n",
"YANCOUB Toufa 2 3.000000 \n",
"YOUSSOUF Asma 0 1.666667 \n",
"\n",
" 2.1 Addition fraction 2.2 Addition fractions \\\n",
"ABDALLAH Touraya 2 2 \n",
"ABDOU Mariam 3 3 \n",
"ABTOIHI SAID Yasmina 0 3 \n",
"AHAMED Anssuifidine 2 3 \n",
"AHAMED Issihaka 3 3 \n",
"AHMED ABDOU El-Karim 3 3 \n",
"ANDILI Chayhati 0 2 \n",
"ANDJILANE Rachma 3 3 \n",
"ANLI Koudoussia 3 2 \n",
"ATTOUMANI Hanissa 3 2 \n",
"BACO ABDALLAH Moustadirane 3 3 \n",
"BINALI Maoulida 3 3 \n",
"BOINA Ainati 3 3 \n",
"BOINA HASSANI Nahimi 2 3 \n",
"DAOUD El-Farouk 3 3 \n",
"DJADAR Ifrah 3 2 \n",
"HALIBOU Nafilati 0 3 \n",
"HALIDI Tomsoyère NaN NaN \n",
"HOUMADI Himida 1 3 \n",
"HOUMADI Antufati 1 3 \n",
"HOUMADI ABDALLAH Abdallah 3 3 \n",
"IBRAHIM Laoura 0 3 \n",
"MALIDE ABDOU Nasser 3 3 \n",
"MALIDE Younes 3 3 \n",
"MOENY MOKO Nadjma 2 2 \n",
"MOUGNIDAHO Nouriana NaN NaN \n",
"MOURTADJOU El-Fazar 3 3 \n",
"SAGAF Amal NaN NaN \n",
"SAID Chamsoudine 3 3 \n",
"YANCOUB Toufa 2 2 \n",
"YOUSSOUF Asma 3 0 \n",
"\n",
" 2.3 Multiplication Fraction \\\n",
"ABDALLAH Touraya 1 \n",
"ABDOU Mariam 3 \n",
"ABTOIHI SAID Yasmina 3 \n",
"AHAMED Anssuifidine 2 \n",
"AHAMED Issihaka 2 \n",
"AHMED ABDOU El-Karim 2 \n",
"ANDILI Chayhati 2 \n",
"ANDJILANE Rachma 3 \n",
"ANLI Koudoussia 2 \n",
"ATTOUMANI Hanissa 2 \n",
"BACO ABDALLAH Moustadirane 3 \n",
"BINALI Maoulida 2 \n",
"BOINA Ainati 3 \n",
"BOINA HASSANI Nahimi 3 \n",
"DAOUD El-Farouk 2 \n",
"DJADAR Ifrah 3 \n",
"HALIBOU Nafilati 2 \n",
"HALIDI Tomsoyère NaN \n",
"HOUMADI Himida 2 \n",
"HOUMADI Antufati 3 \n",
"HOUMADI ABDALLAH Abdallah 2 \n",
"IBRAHIM Laoura 3 \n",
"MALIDE ABDOU Nasser 3 \n",
"MALIDE Younes 3 \n",
"MOENY MOKO Nadjma 3 \n",
"MOUGNIDAHO Nouriana NaN \n",
"MOURTADJOU El-Fazar 3 \n",
"SAGAF Amal NaN \n",
"SAID Chamsoudine 2 \n",
"YANCOUB Toufa 2 \n",
"YOUSSOUF Asma 2 \n",
"\n",
" 2.4 Multiplication Fraction Exercice 3 \\\n",
"ABDALLAH Touraya 0 0.666667 \n",
"ABDOU Mariam 3 3.000000 \n",
"ABTOIHI SAID Yasmina 3 2.333333 \n",
"AHAMED Anssuifidine 3 0.666667 \n",
"AHAMED Issihaka 3 1.000000 \n",
"AHMED ABDOU El-Karim 3 1.000000 \n",
"ANDILI Chayhati NaN 0.000000 \n",
"ANDJILANE Rachma 3 1.666667 \n",
"ANLI Koudoussia 3 1.000000 \n",
"ATTOUMANI Hanissa 2 3.000000 \n",
"BACO ABDALLAH Moustadirane 2 2.333333 \n",
"BINALI Maoulida 2 2.333333 \n",
"BOINA Ainati 3 0.666667 \n",
"BOINA HASSANI Nahimi 3 1.000000 \n",
"DAOUD El-Farouk 3 2.333333 \n",
"DJADAR Ifrah 2 0.000000 \n",
"HALIBOU Nafilati 0 0.333333 \n",
"HALIDI Tomsoyère NaN 0.000000 \n",
"HOUMADI Himida 3 1.333333 \n",
"HOUMADI Antufati 3 1.000000 \n",
"HOUMADI ABDALLAH Abdallah 2 3.000000 \n",
"IBRAHIM Laoura 3 0.000000 \n",
"MALIDE ABDOU Nasser 3 0.666667 \n",
"MALIDE Younes 3 1.666667 \n",
"MOENY MOKO Nadjma 2 2.666667 \n",
"MOUGNIDAHO Nouriana NaN 0.000000 \n",
"MOURTADJOU El-Fazar 3 1.666667 \n",
"SAGAF Amal NaN 0.000000 \n",
"SAID Chamsoudine 3 3.000000 \n",
"YANCOUB Toufa 3 3.000000 \n",
"YOUSSOUF Asma 0 1.000000 \n",
"\n",
" 1 (developper) 2 (multiplication) Exercice 4 \\\n",
"ABDALLAH Touraya 2 NaN 2.000000 \n",
"ABDOU Mariam 3 3 7.000000 \n",
"ABTOIHI SAID Yasmina 3 2 6.000000 \n",
"AHAMED Anssuifidine 2 NaN 7.000000 \n",
"AHAMED Issihaka 3 NaN 6.000000 \n",
"AHMED ABDOU El-Karim 3 NaN 0.000000 \n",
"ANDILI Chayhati NaN NaN 5.000000 \n",
"ANDJILANE Rachma 3 1 7.000000 \n",
"ANLI Koudoussia 3 0 6.333333 \n",
"ATTOUMANI Hanissa 3 3 7.000000 \n",
"BACO ABDALLAH Moustadirane 3 2 5.333333 \n",
"BINALI Maoulida 3 2 6.000000 \n",
"BOINA Ainati 2 0 7.000000 \n",
"BOINA HASSANI Nahimi 3 0 3.000000 \n",
"DAOUD El-Farouk 3 2 4.333333 \n",
"DJADAR Ifrah 0 NaN 5.000000 \n",
"HALIBOU Nafilati 1 NaN 4.000000 \n",
"HALIDI Tomsoyère NaN NaN 0.000000 \n",
"HOUMADI Himida 2 1 4.000000 \n",
"HOUMADI Antufati 1 1 7.000000 \n",
"HOUMADI ABDALLAH Abdallah 3 3 5.666667 \n",
"IBRAHIM Laoura 0 0 4.333333 \n",
"MALIDE ABDOU Nasser 0 1 7.000000 \n",
"MALIDE Younes 3 1 7.000000 \n",
"MOENY MOKO Nadjma 2 3 7.000000 \n",
"MOUGNIDAHO Nouriana NaN NaN 0.000000 \n",
"MOURTADJOU El-Fazar 3 1 4.000000 \n",
"SAGAF Amal NaN NaN 0.000000 \n",
"SAID Chamsoudine 3 3 6.666667 \n",
"YANCOUB Toufa 3 3 6.000000 \n",
"YOUSSOUF Asma 1 1 6.000000 \n",
"\n",
" Comparaison Pythagore Thalès \n",
"ABDALLAH Touraya 0 1 1 \n",
"ABDOU Mariam 3 3 3 \n",
"ABTOIHI SAID Yasmina 0 3 3 \n",
"AHAMED Anssuifidine 3 3 3 \n",
"AHAMED Issihaka 3 3 2 \n",
"AHMED ABDOU El-Karim NaN NaN NaN \n",
"ANDILI Chayhati NaN 3 2 \n",
"ANDJILANE Rachma 3 3 3 \n",
"ANLI Koudoussia 1 3 3 \n",
"ATTOUMANI Hanissa 3 3 3 \n",
"BACO ABDALLAH Moustadirane 1 3 2 \n",
"BINALI Maoulida 3 3 2 \n",
"BOINA Ainati 3 3 3 \n",
"BOINA HASSANI Nahimi NaN 2 1 \n",
"DAOUD El-Farouk 1 3 1 \n",
"DJADAR Ifrah 3 3 1 \n",
"HALIBOU Nafilati NaN 3 1 \n",
"HALIDI Tomsoyère NaN NaN NaN \n",
"HOUMADI Himida NaN 3 1 \n",
"HOUMADI Antufati 3 3 3 \n",
"HOUMADI ABDALLAH Abdallah 2 3 2 \n",
"IBRAHIM Laoura 1 3 1 \n",
"MALIDE ABDOU Nasser 3 3 3 \n",
"MALIDE Younes 3 3 3 \n",
"MOENY MOKO Nadjma 3 3 3 \n",
"MOUGNIDAHO Nouriana NaN NaN NaN \n",
"MOURTADJOU El-Fazar NaN 3 1 \n",
"SAGAF Amal NaN NaN NaN \n",
"SAID Chamsoudine 2 3 3 \n",
"YANCOUB Toufa 3 3 2 \n",
"YOUSSOUF Asma 3 3 2 "
]
},
"execution_count": 30,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"notes\n",
"#barem"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Supression des notes inutiles "
]
},
{
"cell_type": "code",
"execution_count": 31,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"notes = notes[notes[ds_name].notnull()]"
]
},
{
"cell_type": "code",
"execution_count": 32,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"notes = notes.astype(float)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Traitement des notes"
]
},
{
"cell_type": "code",
"execution_count": 33,
"metadata": {
"collapsed": false,
"scrolled": true
},
"outputs": [
{
"data": {
"text/plain": [
"Index(['DM_16_01_29', 'Malus', 'Exercice 1', '1.1 Developper',\n",
" '1.2 Developper', '1.3 Double developpement', '1.4 Developpement carré',\n",
" 'Exercice 2', '2.1 Addition fraction', '2.2 Addition fractions',\n",
" '2.3 Multiplication Fraction', '2.4 Multiplication Fraction',\n",
" 'Exercice 3', '1 (developper)', '2 (multiplication)', 'Exercice 4',\n",
" 'Comparaison', 'Pythagore', 'Thalès'],\n",
" dtype='object')"
]
},
"execution_count": 33,
"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": 34,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/plain": [
"['Exercice 1', 'Exercice 2', 'Exercice 3', 'Exercice 4']"
]
},
"execution_count": 34,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"list_exo = [\"Exercice \"+str(i+1) for i in range(4)]\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": 35,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"autres_notes = [\"Malus\"]\n",
"#notes = notes.T.drop(\"Malus\").T"
]
},
{
"cell_type": "code",
"execution_count": 36,
"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": 37,
"metadata": {
"collapsed": false,
"scrolled": true
},
"outputs": [
{
"data": {
"text/plain": [
"['1.1 Developper',\n",
" '1.2 Developper',\n",
" '1.3 Double developpement',\n",
" '1.4 Developpement carré',\n",
" '2.1 Addition fraction',\n",
" '2.2 Addition fractions',\n",
" '2.3 Multiplication Fraction',\n",
" '2.4 Multiplication Fraction',\n",
" '1 (developper)',\n",
" '2 (multiplication)',\n",
" 'Comparaison',\n",
" 'Pythagore',\n",
" 'Thalès']"
]
},
"execution_count": 37,
"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": 38,
"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": 39,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"notes[item_avec_note] = notes[item_avec_note].fillna(\".\")\n",
"#notes"
]
},
{
"cell_type": "code",
"execution_count": 40,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"eleves = notes.copy()\n",
"eleves[sous_exo] = notes[sous_exo].applymap(toRepVal)"
]
},
{
"cell_type": "code",
"execution_count": 41,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/plain": [
"19"
]
},
"execution_count": 41,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"len(notes.T.index)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Un peu de statistiques"
]
},
{
"cell_type": "code",
"execution_count": 42,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/plain": [
"count 28.000000\n",
"mean 14.821429\n",
"std 3.347786\n",
"min 8.500000\n",
"25% 11.875000\n",
"50% 16.000000\n",
"75% 17.500000\n",
"max 20.000000\n",
"Name: DM_16_01_29, dtype: float64"
]
},
"execution_count": 42,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"notes[ds_name].describe()"
]
},
{
"cell_type": "code",
"execution_count": 43,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.text.Text at 0x7f325c3d2748>"
]
},
"execution_count": 43,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAe8AAAFmCAYAAABENhLdAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAGKBJREFUeJzt3X+M5HV9x/HX625VQOGk10pbaY/zdM9af8AVKajprsUU\nSo2aNiYV0WpTYxrupEWJ0qbeXps2Nqk05E7/KLVUgYupRhEQPGIVqjXy6zikHt4qXUSsUKRYiiaK\ny7t/zHePvcvc7uzu9/Odee/n+Ug235nZmc/3s/Pemdd85j0/HBECAAB5rBn2BAAAwNIQ3gAAJEN4\nAwCQDOENAEAyhDcAAMkQ3gAAJFM8vG2vs/0J2/fY/rrtXy+9TwAAVrOxDvZxqaTrI+KNtsckHdPB\nPgEAWLVc8kNabB8raV9EbCq2EwAAKlP6afPnSfq+7ctt77X9D7aPLrxPAABWtdLhPSZpi6QPRcQW\nST+S9L7C+wQAYFUr3fN+QNJ3IuL25vgnJb13oQvY5sPWAQBViQgv5fxFwzsiHrL9HdvjETEt6UxJ\n+we4XMlpoRDb1C4x6pdXqdpNT09r82ZJGm97ZB04II2Ptz1uTvaScltSN682f5ekq2w/TdJ/Snp7\nB/sEAGDVKh7eEXGXpJeX3g8AALXgE9bQmu3btw97ClgB6pcXtatP0fd5L4ftGLU5AUCN6Hl3o3nN\nwpIa36y80ZqpqalhTwErQP3yonb1IbwBAEiGp80BAH3xtHk3eNocAIAKEN5oDX233KhfXtSuPoQ3\nAADJ0PMGAPRFz7sb9LwBAKgA4Y3W0HfLjfrlRe3qQ3gDAJAMPW8AQF/0vLtBzxsAgAoQ3mgNfbfc\nqF9e1K4+hDcAA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428be0>"
]
},
"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]), )\n",
"ax.set_xlabel(\"Notes\")\n",
"ax.set_ylabel(\"Effectif\")\n",
"#notes_seules.hist()"
]
},
{
"cell_type": "code",
"execution_count": 44,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7f32415bbef0>"
]
},
"execution_count": 44,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAgAAAAFXCAYAAADUG/YoAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzsvWlwW+ed5vs7WAlwX0ASK7FwF0VqsyRLtrwm3mTHSTpt\nx0lv01NJetJdMzV176eumpu68+nempqqSU+muzPTN9OdfWk7seMtXuLYlizLssRN3AmAJMB9J0Gs\n55z7AcAhIFIUKZESbeOpokSe9T0HB+d93v/7/J+/IMsyOeSQQw455JDDZwuqO92AHHLIIYcccsjh\n9iNHAHLIIYcccsjhM4gcAcghhxxyyCGHzyByBCCHHHLIIYccPoPIEYAccsghhxxy+AwiRwByyCGH\nHHLI4TOIHREAQRD+SRCEKUEQOrfY5ruCIAwKgtAuCMKhW29iDjnkkEMOOeSw29hpBOAHwCPXWykI\nwmOAR5blOuCbwD/cQttyyCGHHHLIIYc9wo4IgCzL7wMLW2zyBeBfUtt+CBQLglB1883LIYcccsgh\nhxz2ArutAbACYxl/B1PLcsghhxxyyCGHfYTdJgDCJstyXsM55JBDDjnksM+g2eXjBQB7xt82YPxG\nOwmCkCMJOeSQQw45fOYgy/JmA+fbgpshAAKbj/QBXgS+DfxcEISTwKIsy1PbOeg//MP/R3BqDEkQ\nEAUBKePnWqgBg1ZPaX4h1aUVOKtt1FndFOQX3MTlfLKQZ80jEozc6WbcUSwuL9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WMmMbg2spD+DK4HvU5/fZKQ8bdeq7+l7AdZlllY\nXsgK5187NVJeUq509rY
"text/plain": [
"<matplotlib.figure.Figure at 0x7f32415dc5f8>"
]
},
"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, )\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": 45,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAeIAAAFhCAYAAACszanVAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xu0JHV97/33Z2aAcFFEYvCCgEwyoyYqkgjeOHtUkowY\n4Vnn5GLGBIJ5zEkeZsDoMhJzHmfPOUdPPCvHRAddT1RChCPRQKKCGi7RQEKMiDBcFNwjw1Ygyqjj\nKJlDYmT4Pn9Ubaan6d1dXV3Vv6rqz2utXr17d/Xv+63q+tWvu77VVYoIzMzMLI0VqRMwMzObZR6I\nzczMEvJAbGZmlpAHYjMzs4Q8EJuZmSXkgdjMzCwhD8QdJ2mDpKtS52Fm0+E+3z4eiGsk6WuSHpL0\noKR/ye/fM80cIuLSiFhfZZuSDpB0maRFSY9I+g9Vtm/WVh3u8ydLukbSLkk7JX1U0pOrjDHLPBDX\nK4BXRcTjI+Jx+f25VQaQtLLK9sbwD8BrgW8mim/WRF3t80cAfwocm9/2ABclyKOTPBDXTwP/Kb1P\n0mU9j98p6dqex78gaZuk3ZJukPScnucWJf2epNuAPZJWSDpa0l9J+pakby99Cpd0lqR/6HntT/Z8\nsv2mpPPz/0vS+ZLuzl//EUlPGJR7RPwwIt4TE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ZG3RYi7weF\n+lhTbmQn67kXuAf4JrAHuHjEayZ6Hyc17fW2iTlMM/7gfjesb9XV3/rbGDeHKnOZrL8XvR7xPcBP\nR8TuIoO7a0Y2Da4R10vSHPCmcI3YerhGPMh0asQaY1ozMzMrqOjgGsDVkm6S9Po6ExpX1+uarhFX\nGnHK8dotIq4f9W24Caa
"text/plain": [
"<matplotlib.figure.Figure at 0x7f325c3e02e8>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"ax = notes[list_exo].hist()"
]
},
{
"cell_type": "code",
"execution_count": 46,
"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>1.1 Developper</th>\n",
" <th>1.2 Developper</th>\n",
" <th>1.3 Double developpement</th>\n",
" <th>1.4 Developpement carré</th>\n",
" <th>2.1 Addition fraction</th>\n",
" <th>2.2 Addition fractions</th>\n",
" <th>2.3 Multiplication Fraction</th>\n",
" <th>2.4 Multiplication Fraction</th>\n",
" <th>1 (developper)</th>\n",
" <th>2 (multiplication)</th>\n",
" <th>Comparaison</th>\n",
" <th>Pythagore</th>\n",
" <th>Thalès</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>count</th>\n",
" <td>28.000000</td>\n",
" <td>28.000000</td>\n",
" <td>28.000000</td>\n",
" <td>28.000000</td>\n",
" <td>28.000000</td>\n",
" <td>28.000000</td>\n",
" <td>28.000000</td>\n",
" <td>27.000000</td>\n",
" <td>27.000000</td>\n",
" <td>21.000000</td>\n",
" <td>22.000000</td>\n",
" <td>27.000000</td>\n",
" <td>27.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>mean</th>\n",
" <td>2.678571</td>\n",
" <td>2.571429</td>\n",
" <td>2.428571</td>\n",
" <td>2.178571</td>\n",
" <td>2.250000</td>\n",
" <td>2.642857</td>\n",
" <td>2.428571</td>\n",
" <td>2.444444</td>\n",
" <td>2.259259</td>\n",
" <td>1.571429</td>\n",
" <td>2.272727</td>\n",
" <td>2.888889</td>\n",
" <td>2.148148</td>\n",
" </tr>\n",
" <tr>\n",
" <th>std</th>\n",
" <td>0.547964</td>\n",
" <td>0.572750</td>\n",
" <td>0.997351</td>\n",
" <td>1.218790</td>\n",
" <td>1.109721</td>\n",
" <td>0.678467</td>\n",
" <td>0.572750</td>\n",
" <td>0.974022</td>\n",
" <td>1.059484</td>\n",
" <td>1.121224</td>\n",
" <td>1.077113</td>\n",
" <td>0.423659</td>\n",
" <td>0.863967</td>\n",
" </tr>\n",
" <tr>\n",
" <th>min</th>\n",
" <td>1.000000</td>\n",
" <td>1.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>1.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>1.000000</td>\n",
" <td>1.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>25%</th>\n",
" <td>2.000000</td>\n",
" <td>2.000000</td>\n",
" <td>2.000000</td>\n",
" <td>2.000000</td>\n",
" <td>2.000000</td>\n",
" <td>2.000000</td>\n",
" <td>2.000000</td>\n",
" <td>2.000000</td>\n",
" <td>2.000000</td>\n",
" <td>1.000000</td>\n",
" <td>1.250000</td>\n",
" <td>3.000000</td>\n",
" <td>1.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>50%</th>\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>2.000000</td>\n",
" <td>3.000000</td>\n",
" <td>3.000000</td>\n",
" <td>1.000000</td>\n",
" <td>3.000000</td>\n",
" <td>3.000000</td>\n",
" <td>2.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>75%</th>\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",
" <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.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": [
" 1.1 Developper 1.2 Developper 1.3 Double developpement \\\n",
"count 28.000000 28.000000 28.000000 \n",
"mean 2.678571 2.571429 2.428571 \n",
"std 0.547964 0.572750 0.997351 \n",
"min 1.000000 1.000000 0.000000 \n",
"25% 2.000000 2.000000 2.000000 \n",
"50% 3.000000 3.000000 3.000000 \n",
"75% 3.000000 3.000000 3.000000 \n",
"max 3.000000 3.000000 3.000000 \n",
"\n",
" 1.4 Developpement carré 2.1 Addition fraction 2.2 Addition fractions \\\n",
"count 28.000000 28.000000 28.000000 \n",
"mean 2.178571 2.250000 2.642857 \n",
"std 1.218790 1.109721 0.678467 \n",
"min 0.000000 0.000000 0.000000 \n",
"25% 2.000000 2.000000 2.000000 \n",
"50% 3.000000 3.000000 3.000000 \n",
"75% 3.000000 3.000000 3.000000 \n",
"max 3.000000 3.000000 3.000000 \n",
"\n",
" 2.3 Multiplication Fraction 2.4 Multiplication Fraction \\\n",
"count 28.000000 27.000000 \n",
"mean 2.428571 2.444444 \n",
"std 0.572750 0.974022 \n",
"min 1.000000 0.000000 \n",
"25% 2.000000 2.000000 \n",
"50% 2.000000 3.000000 \n",
"75% 3.000000 3.000000 \n",
"max 3.000000 3.000000 \n",
"\n",
" 1 (developper) 2 (multiplication) Comparaison Pythagore Thalès \n",
"count 27.000000 21.000000 22.000000 27.000000 27.000000 \n",
"mean 2.259259 1.571429 2.272727 2.888889 2.148148 \n",
"std 1.059484 1.121224 1.077113 0.423659 0.863967 \n",
"min 0.000000 0.000000 0.000000 1.000000 1.000000 \n",
"25% 2.000000 1.000000 1.250000 3.000000 1.000000 \n",
"50% 3.000000 1.000000 3.000000 3.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": 46,
"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": 47,
"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>1.1 Developper</th>\n",
" <th>1.2 Developper</th>\n",
" <th>1.3 Double developpement</th>\n",
" <th>1.4 Developpement carré</th>\n",
" <th>2.1 Addition fraction</th>\n",
" <th>2.2 Addition fractions</th>\n",
" <th>2.3 Multiplication Fraction</th>\n",
" <th>2.4 Multiplication Fraction</th>\n",
" <th>1 (developper)</th>\n",
" <th>2 (multiplication)</th>\n",
" <th>Comparaison</th>\n",
" <th>Pythagore</th>\n",
" <th>Thalès</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>count</th>\n",
" <td>28</td>\n",
" <td>28</td>\n",
" <td>28</td>\n",
" <td>28</td>\n",
" <td>28</td>\n",
" <td>28</td>\n",
" <td>28</td>\n",
" <td>27</td>\n",
" <td>27</td>\n",
" <td>21</td>\n",
" <td>22</td>\n",
" <td>27</td>\n",
" <td>27</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" 1.1 Developper 1.2 Developper 1.3 Double developpement \\\n",
"count 28 28 28 \n",
"\n",
" 1.4 Developpement carré 2.1 Addition fraction 2.2 Addition fractions \\\n",
"count 28 28 28 \n",
"\n",
" 2.3 Multiplication Fraction 2.4 Multiplication Fraction \\\n",
"count 28 27 \n",
"\n",
" 1 (developper) 2 (multiplication) Comparaison Pythagore Thalès \n",
"count 27 21 22 27 27 "
]
},
"execution_count": 47,
"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": {},
"source": [
"# Preparation du fichier .tex"
]
},
{
"cell_type": "code",
"execution_count": 48,
"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": {
"collapsed": true
},
"source": [
"## Bilan à remplir"
]
},
{
"cell_type": "code",
"execution_count": 28,
"metadata": {
"collapsed": false
},
"outputs": [
{
"ename": "SyntaxError",
"evalue": "invalid syntax (<ipython-input-28-5b3ec646b48a>, line 3)",
"output_type": "error",
"traceback": [
"\u001b[1;36m File \u001b[1;32m\"<ipython-input-28-5b3ec646b48a>\"\u001b[1;36m, line \u001b[1;32m3\u001b[0m\n\u001b[1;33m f.write(bilan.render(eleves = [(\"Nom\", barem = barem, ds_name = ds_name, latex_info = latex_info, nbr_questions = len(barem.T)))\u001b[0m\n\u001b[1;37m ^\u001b[0m\n\u001b[1;31mSyntaxError\u001b[0m\u001b[1;31m:\u001b[0m invalid syntax\n"
]
}
],
"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
}