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

1826 lines
238 KiB
Plaintext
Raw Normal View History

2017-06-16 06:48:54 +00:00
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"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": 2,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/plain": [
"{'classe': '309', 'date': '29 janvier 2016', 'titre': 'DM 4'}"
]
},
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"ds_name = \"DM_16_01_29\"\n",
"classe = \"309\"\n",
"\n",
"latex_info = {}\n",
"latex_info['titre'] = \"DM 4\"\n",
"latex_info['classe'] = \"309\"\n",
"latex_info['date'] = \"29 janvier 2016\"\n",
"latex_info"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Import et premiers traitements"
]
},
{
"cell_type": "code",
"execution_count": 3,
"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": 4,
"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": 4,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"notes.index"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"notes = notes.drop(\"Malus\")"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"notes = notes.T"
]
},
{
"cell_type": "code",
"execution_count": 7,
"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": 8,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"barem = notes[:1]\n",
"notes = notes[1:]"
]
},
{
"cell_type": "code",
"execution_count": 9,
"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>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>ABDOU Farida</th>\n",
" <td>12.0</td>\n",
" <td>3.5</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" <td>0</td>\n",
" <td>2.000000</td>\n",
" <td>0</td>\n",
" <td>1</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>1.333333</td>\n",
" <td>0</td>\n",
" <td>2</td>\n",
" <td>5.000000</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ABOU BACAR Djaha</th>\n",
" <td>16.5</td>\n",
" <td>4.0</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>3.000000</td>\n",
" <td>2</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>7.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>AHAMADA Nabaouya</th>\n",
" <td>14.5</td>\n",
" <td>1.0</td>\n",
" <td>2</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>4.000000</td>\n",
" <td>3</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>7.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>AHAMADI Faina</th>\n",
" <td>14.5</td>\n",
" <td>3.5</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" <td>1</td>\n",
" <td>2</td>\n",
" <td>2.666667</td>\n",
" <td>1</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>1.333333</td>\n",
" <td>2</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>ALI Mardhuia</th>\n",
" <td>19.0</td>\n",
" <td>5.0</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>2</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>ALI SOULAIMANA Chamsia</th>\n",
" <td>15.5</td>\n",
" <td>3.5</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>0</td>\n",
" <td>4.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>2.000000</td>\n",
" <td>2</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>ALSENE ALI MADI Stela</th>\n",
" <td>11.0</td>\n",
" <td>2.5</td>\n",
" <td>2</td>\n",
" <td>1</td>\n",
" <td>1</td>\n",
" <td>1</td>\n",
" <td>3.333333</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>2.000000</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>3.000000</td>\n",
" <td>0</td>\n",
" <td>3</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ANDRIATAHIANA Hoby</th>\n",
" <td>14.0</td>\n",
" <td>3.5</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>1</td>\n",
" <td>1</td>\n",
" <td>3.000000</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>0.333333</td>\n",
" <td>1</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>ANLI Emeline</th>\n",
" <td>7.0</td>\n",
" <td>4.0</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>0.666667</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>1</td>\n",
" <td>1</td>\n",
" <td>0.333333</td>\n",
" <td>1</td>\n",
" <td>0</td>\n",
" <td>2.000000</td>\n",
" <td>0</td>\n",
" <td>1</td>\n",
" <td>1</td>\n",
" </tr>\n",
" <tr>\n",
" <th>ATHOUMANE Naouidat</th>\n",
" <td>15.0</td>\n",
" <td>5.5</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>2.666667</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>1.666667</td>\n",
" <td>1</td>\n",
" <td>2</td>\n",
" <td>5.000000</td>\n",
" <td>0</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>BOUDRA Nassifanya</th>\n",
" <td>19.0</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>3</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>3</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>CHANFI Nadhrati</th>\n",
" <td>16.0</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.000000</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>5.000000</td>\n",
" <td>0</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>COMBO Moinécha</th>\n",
" <td>18.5</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>2</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>6.333333</td>\n",
" <td>1</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>HALIDI Nisma</th>\n",
" <td>18.5</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>3</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>0</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>HAMZA Samianti</th>\n",
" <td>8.5</td>\n",
" <td>3.5</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" <td>1</td>\n",
" <td>2</td>\n",
" <td>3.000000</td>\n",
" <td>1</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>0.666667</td>\n",
" <td>2</td>\n",
" <td>0</td>\n",
" <td>1.333333</td>\n",
" <td>1</td>\n",
" <td>1</td>\n",
" <td>0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>HOUMADI Mouslimati</th>\n",
" <td>10.0</td>\n",
" <td>4.5</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>2.666667</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>0.000000</td>\n",
" <td>0</td>\n",
" <td>NaN</td>\n",
" <td>3.000000</td>\n",
" <td>0</td>\n",
" <td>2</td>\n",
" <td>1</td>\n",
" </tr>\n",
" <tr>\n",
" <th>HOUMADI Chaharazadi</th>\n",
" <td>16.5</td>\n",
" <td>3.0</td>\n",
" <td>2</td>\n",
" <td>NaN</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>4.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>2.666667</td>\n",
" <td>2</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>HOUMADI Nasmi</th>\n",
" <td>17.5</td>\n",
" <td>6.0</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>2.666667</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>2</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>HOUMADI Dhoirfia</th>\n",
" <td>17.5</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>2</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>5.000000</td>\n",
" <td>0</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>LOUTOUFI Nachima</th>\n",
" <td>8.5</td>\n",
" <td>2.0</td>\n",
" <td>1</td>\n",
" <td>1</td>\n",
" <td>2</td>\n",
" <td>0</td>\n",
" <td>2.666667</td>\n",
" <td>1</td>\n",
" <td>1</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>0.666667</td>\n",
" <td>0</td>\n",
" <td>1</td>\n",
" <td>3.000000</td>\n",
" <td>0</td>\n",
" <td>2</td>\n",
" <td>1</td>\n",
" </tr>\n",
" <tr>\n",
" <th>MALIDE El-Anzize</th>\n",
" <td>14.0</td>\n",
" <td>3.5</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" <td>1</td>\n",
" <td>3.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>1</td>\n",
" <td>2.666667</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>5.000000</td>\n",
" <td>0</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>MONNE Kevin</th>\n",
" <td>9.5</td>\n",
" <td>3.0</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" <td>2</td>\n",
" <td>NaN</td>\n",
" <td>2.666667</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>0</td>\n",
" <td>0.000000</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>3.666667</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>MOUSSA Roibouanti</th>\n",
" <td>17.5</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>2</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>5.000000</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>OUSSENI Hilma</th>\n",
" <td>17.5</td>\n",
" <td>5.5</td>\n",
" <td>2</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>2.000000</td>\n",
" <td>2</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>SAANLI Natali</th>\n",
" <td>18.5</td>\n",
" <td>5.5</td>\n",
" <td>3</td>\n",
" <td>2</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>2.000000</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>7.000000</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>SAID AHAMADA Roukaya</th>\n",
" <td>12.5</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>2</td>\n",
" <td>0</td>\n",
" <td>2.000000</td>\n",
" <td>NaN</td>\n",
" <td>2</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>SANDA Issoufi</th>\n",
" <td>9.5</td>\n",
" <td>2.5</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" <td>1</td>\n",
" <td>NaN</td>\n",
" <td>2.333333</td>\n",
" <td>0</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>0.666667</td>\n",
" <td>0</td>\n",
" <td>1</td>\n",
" <td>4.000000</td>\n",
" <td>0</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>SOILIHI Soifia</th>\n",
" <td>15.5</td>\n",
" <td>5.0</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>2</td>\n",
" <td>2.000000</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>3</td>\n",
" <td>2.666667</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>6.000000</td>\n",
" <td>0</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>SOUFIANI Laila</th>\n",
" <td>2.5</td>\n",
" <td>0.0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>2.333333</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>0</td>\n",
" <td>0.000000</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",
" </tr>\n",
" <tr>\n",
" <th>YOUSSOUF Sitirati</th>\n",
" <td>6.5</td>\n",
" <td>2.0</td>\n",
" <td>3</td>\n",
" <td>1</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>2.000000</td>\n",
" <td>0</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>0</td>\n",
" <td>2.333333</td>\n",
" <td>3</td>\n",
" <td>2</td>\n",
" <td>0.000000</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" DM_16_01_29 Exercice 1 1.1 Developper \\\n",
"ABDOU Farida 12.0 3.5 3 \n",
"ABOU BACAR Djaha 16.5 4.0 3 \n",
"AHAMADA Nabaouya 14.5 1.0 2 \n",
"AHAMADI Faina 14.5 3.5 3 \n",
"ALI Mardhuia 19.0 5.0 3 \n",
"ALI SOULAIMANA Chamsia 15.5 3.5 2 \n",
"ALSENE ALI MADI Stela 11.0 2.5 2 \n",
"ANDRIATAHIANA Hoby 14.0 3.5 3 \n",
"ANLI Emeline 7.0 4.0 2 \n",
"ATHOUMANE Naouidat 15.0 5.5 3 \n",
"BOUDRA Nassifanya 19.0 6.0 3 \n",
"CHANFI Nadhrati 16.0 6.0 3 \n",
"COMBO Moinécha 18.5 5.5 3 \n",
"HALIDI Nisma 18.5 6.0 3 \n",
"HAMZA Samianti 8.5 3.5 3 \n",
"HOUMADI Mouslimati 10.0 4.5 3 \n",
"HOUMADI Chaharazadi 16.5 3.0 2 \n",
"HOUMADI Nasmi 17.5 6.0 3 \n",
"HOUMADI Dhoirfia 17.5 6.0 3 \n",
"LOUTOUFI Nachima 8.5 2.0 1 \n",
"MALIDE El-Anzize 14.0 3.5 2 \n",
"MONNE Kevin 9.5 3.0 3 \n",
"MOUSSA Roibouanti 17.5 6.0 3 \n",
"OUSSENI Hilma 17.5 5.5 2 \n",
"SAANLI Natali 18.5 5.5 3 \n",
"SAID AHAMADA Roukaya 12.5 6.0 3 \n",
"SANDA Issoufi 9.5 2.5 3 \n",
"SOILIHI Soifia 15.5 5.0 3 \n",
"SOUFIANI Laila 2.5 0.0 0 \n",
"YOUSSOUF Sitirati 6.5 2.0 3 \n",
"\n",
" 1.2 Developper 1.3 Double developpement \\\n",
"ABDOU Farida 3 1 \n",
"ABOU BACAR Djaha 1 2 \n",
"AHAMADA Nabaouya 0 0 \n",
"AHAMADI Faina 1 1 \n",
"ALI Mardhuia 2 2 \n",
"ALI SOULAIMANA Chamsia 3 2 \n",
"ALSENE ALI MADI Stela 1 1 \n",
"ANDRIATAHIANA Hoby 2 1 \n",
"ANLI Emeline 2 2 \n",
"ATHOUMANE Naouidat 3 2 \n",
"BOUDRA Nassifanya 3 3 \n",
"CHANFI Nadhrati 3 3 \n",
"COMBO Moinécha 2 3 \n",
"HALIDI Nisma 3 3 \n",
"HAMZA Samianti 1 1 \n",
"HOUMADI Mouslimati 2 2 \n",
"HOUMADI Chaharazadi NaN 2 \n",
"HOUMADI Nasmi 3 3 \n",
"HOUMADI Dhoirfia 3 3 \n",
"LOUTOUFI Nachima 1 2 \n",
"MALIDE El-Anzize 3 1 \n",
"MONNE Kevin 1 2 \n",
"MOUSSA Roibouanti 3 3 \n",
"OUSSENI Hilma 3 3 \n",
"SAANLI Natali 2 3 \n",
"SAID AHAMADA Roukaya 3 3 \n",
"SANDA Issoufi 1 1 \n",
"SOILIHI Soifia 3 2 \n",
"SOUFIANI Laila 0 0 \n",
"YOUSSOUF Sitirati 1 0 \n",
"\n",
" 1.4 Developpement carré Exercice 2 \\\n",
"ABDOU Farida 0 2.000000 \n",
"ABOU BACAR Djaha 2 3.000000 \n",
"AHAMADA Nabaouya 0 4.000000 \n",
"AHAMADI Faina 2 2.666667 \n",
"ALI Mardhuia 3 4.000000 \n",
"ALI SOULAIMANA Chamsia 0 4.000000 \n",
"ALSENE ALI MADI Stela 1 3.333333 \n",
"ANDRIATAHIANA Hoby 1 3.000000 \n",
"ANLI Emeline 2 0.666667 \n",
"ATHOUMANE Naouidat 3 2.666667 \n",
"BOUDRA Nassifanya 3 3.333333 \n",
"CHANFI Nadhrati 3 4.000000 \n",
"COMBO Moinécha 3 3.666667 \n",
"HALIDI Nisma 3 3.333333 \n",
"HAMZA Samianti 2 3.000000 \n",
"HOUMADI Mouslimati 2 2.666667 \n",
"HOUMADI Chaharazadi 2 4.000000 \n",
"HOUMADI Nasmi 3 2.666667 \n",
"HOUMADI Dhoirfia 3 3.666667 \n",
"LOUTOUFI Nachima 0 2.666667 \n",
"MALIDE El-Anzize 1 3.000000 \n",
"MONNE Kevin NaN 2.666667 \n",
"MOUSSA Roibouanti 3 3.666667 \n",
"OUSSENI Hilma 3 4.000000 \n",
"SAANLI Natali 3 4.000000 \n",
"SAID AHAMADA Roukaya 3 4.000000 \n",
"SANDA Issoufi NaN 2.333333 \n",
"SOILIHI Soifia 2 2.000000 \n",
"SOUFIANI Laila 0 2.333333 \n",
"YOUSSOUF Sitirati 0 2.000000 \n",
"\n",
" 2.1 Addition fraction 2.2 Addition fractions \\\n",
"ABDOU Farida 0 1 \n",
"ABOU BACAR Djaha 2 3 \n",
"AHAMADA Nabaouya 3 3 \n",
"AHAMADI Faina 1 2 \n",
"ALI Mardhuia 3 3 \n",
"ALI SOULAIMANA Chamsia 3 3 \n",
"ALSENE ALI MADI Stela 3 2 \n",
"ANDRIATAHIANA Hoby 3 2 \n",
"ANLI Emeline 0 0 \n",
"ATHOUMANE Naouidat 2 2 \n",
"BOUDRA Nassifanya 3 2 \n",
"CHANFI Nadhrati 3 3 \n",
"COMBO Moinécha 3 2 \n",
"HALIDI Nisma 3 2 \n",
"HAMZA Samianti 1 3 \n",
"HOUMADI Mouslimati 2 2 \n",
"HOUMADI Chaharazadi 3 3 \n",
"HOUMADI Nasmi 3 0 \n",
"HOUMADI Dhoirfia 3 2 \n",
"LOUTOUFI Nachima 1 1 \n",
"MALIDE El-Anzize 3 3 \n",
"MONNE Kevin 3 3 \n",
"MOUSSA Roibouanti 3 2 \n",
"OUSSENI Hilma 3 3 \n",
"SAANLI Natali 3 3 \n",
"SAID AHAMADA Roukaya 3 3 \n",
"SANDA Issoufi 0 2 \n",
"SOILIHI Soifia 3 0 \n",
"SOUFIANI Laila 2 3 \n",
"YOUSSOUF Sitirati 0 3 \n",
"\n",
" 2.3 Multiplication Fraction \\\n",
"ABDOU Farida 2 \n",
"ABOU BACAR Djaha 2 \n",
"AHAMADA Nabaouya 3 \n",
"AHAMADI Faina 2 \n",
"ALI Mardhuia 3 \n",
"ALI SOULAIMANA Chamsia 3 \n",
"ALSENE ALI MADI Stela 2 \n",
"ANDRIATAHIANA Hoby 2 \n",
"ANLI Emeline 1 \n",
"ATHOUMANE Naouidat 2 \n",
"BOUDRA Nassifanya 2 \n",
"CHANFI Nadhrati 3 \n",
"COMBO Moinécha 3 \n",
"HALIDI Nisma 2 \n",
"HAMZA Samianti 2 \n",
"HOUMADI Mouslimati 2 \n",
"HOUMADI Chaharazadi 3 \n",
"HOUMADI Nasmi 2 \n",
"HOUMADI Dhoirfia 3 \n",
"LOUTOUFI Nachima 3 \n",
"MALIDE El-Anzize 2 \n",
"MONNE Kevin 2 \n",
"MOUSSA Roibouanti 3 \n",
"OUSSENI Hilma 3 \n",
"SAANLI Natali 3 \n",
"SAID AHAMADA Roukaya 3 \n",
"SANDA Issoufi 2 \n",
"SOILIHI Soifia 0 \n",
"SOUFIANI Laila 2 \n",
"YOUSSOUF Sitirati 3 \n",
"\n",
" 2.4 Multiplication Fraction Exercice 3 \\\n",
"ABDOU Farida 3 1.333333 \n",
"ABOU BACAR Djaha 2 2.333333 \n",
"AHAMADA Nabaouya 3 2.333333 \n",
"AHAMADI Faina 3 1.333333 \n",
"ALI Mardhuia 3 3.000000 \n",
"ALI SOULAIMANA Chamsia 3 2.000000 \n",
"ALSENE ALI MADI Stela 3 2.000000 \n",
"ANDRIATAHIANA Hoby 2 0.333333 \n",
"ANLI Emeline 1 0.333333 \n",
"ATHOUMANE Naouidat 2 1.666667 \n",
"BOUDRA Nassifanya 3 2.666667 \n",
"CHANFI Nadhrati 3 1.000000 \n",
"COMBO Moinécha 3 3.000000 \n",
"HALIDI Nisma 3 3.000000 \n",
"HAMZA Samianti 3 0.666667 \n",
"HOUMADI Mouslimati 2 0.000000 \n",
"HOUMADI Chaharazadi 3 2.666667 \n",
"HOUMADI Nasmi 3 1.666667 \n",
"HOUMADI Dhoirfia 3 3.000000 \n",
"LOUTOUFI Nachima 3 0.666667 \n",
"MALIDE El-Anzize 1 2.666667 \n",
"MONNE Kevin 0 0.000000 \n",
"MOUSSA Roibouanti 3 3.000000 \n",
"OUSSENI Hilma 3 2.000000 \n",
"SAANLI Natali 3 2.000000 \n",
"SAID AHAMADA Roukaya 3 0.666667 \n",
"SANDA Issoufi 3 0.666667 \n",
"SOILIHI Soifia 3 2.666667 \n",
"SOUFIANI Laila 0 0.000000 \n",
"YOUSSOUF Sitirati 0 2.333333 \n",
"\n",
" 1 (developper) 2 (multiplication) Exercice 4 \\\n",
"ABDOU Farida 0 2 5.000000 \n",
"ABOU BACAR Djaha 3 2 7.000000 \n",
"AHAMADA Nabaouya 3 2 7.000000 \n",
"AHAMADI Faina 2 1 7.000000 \n",
"ALI Mardhuia 3 3 7.000000 \n",
"ALI SOULAIMANA Chamsia 2 2 6.000000 \n",
"ALSENE ALI MADI Stela 2 2 3.000000 \n",
"ANDRIATAHIANA Hoby 1 NaN 7.000000 \n",
"ANLI Emeline 1 0 2.000000 \n",
"ATHOUMANE Naouidat 1 2 5.000000 \n",
"BOUDRA Nassifanya 2 3 7.000000 \n",
"CHANFI Nadhrati 3 0 5.000000 \n",
"COMBO Moinécha 3 3 6.333333 \n",
"HALIDI Nisma 3 3 6.000000 \n",
"HAMZA Samianti 2 0 1.333333 \n",
"HOUMADI Mouslimati 0 NaN 3.000000 \n",
"HOUMADI Chaharazadi 2 3 6.666667 \n",
"HOUMADI Nasmi 3 1 7.000000 \n",
"HOUMADI Dhoirfia 3 3 5.000000 \n",
"LOUTOUFI Nachima 0 1 3.000000 \n",
"MALIDE El-Anzize 2 3 5.000000 \n",
"MONNE Kevin 0 0 3.666667 \n",
"MOUSSA Roibouanti 3 3 5.000000 \n",
"OUSSENI Hilma 2 2 6.000000 \n",
"SAANLI Natali 2 2 7.000000 \n",
"SAID AHAMADA Roukaya 2 0 2.000000 \n",
"SANDA Issoufi 0 1 4.000000 \n",
"SOILIHI Soifia 2 3 6.000000 \n",
"SOUFIANI Laila 0 0 0.000000 \n",
"YOUSSOUF Sitirati 3 2 0.000000 \n",
"\n",
" Comparaison Pythagore Thalès \n",
"ABDOU Farida 3 2 2 \n",
"ABOU BACAR Djaha 3 3 3 \n",
"AHAMADA Nabaouya 3 3 3 \n",
"AHAMADI Faina 3 3 3 \n",
"ALI Mardhuia 3 3 3 \n",
"ALI SOULAIMANA Chamsia 0 3 3 \n",
"ALSENE ALI MADI Stela 0 3 NaN \n",
"ANDRIATAHIANA Hoby 3 3 3 \n",
"ANLI Emeline 0 1 1 \n",
"ATHOUMANE Naouidat 0 3 2 \n",
"BOUDRA Nassifanya 3 3 3 \n",
"CHANFI Nadhrati 0 3 2 \n",
"COMBO Moinécha 1 3 3 \n",
"HALIDI Nisma 0 3 3 \n",
"HAMZA Samianti 1 1 0 \n",
"HOUMADI Mouslimati 0 2 1 \n",
"HOUMADI Chaharazadi 2 3 3 \n",
"HOUMADI Nasmi 3 3 3 \n",
"HOUMADI Dhoirfia 0 3 2 \n",
"LOUTOUFI Nachima 0 2 1 \n",
"MALIDE El-Anzize 0 2 3 \n",
"MONNE Kevin 2 3 0 \n",
"MOUSSA Roibouanti 3 2 2 \n",
"OUSSENI Hilma 0 3 3 \n",
"SAANLI Natali 3 3 3 \n",
"SAID AHAMADA Roukaya NaN 2 NaN \n",
"SANDA Issoufi 0 2 2 \n",
"SOILIHI Soifia 0 3 3 \n",
"SOUFIANI Laila 0 0 0 \n",
"YOUSSOUF Sitirati NaN NaN NaN "
]
},
"execution_count": 9,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"notes\n",
"#barem"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Supression des notes inutiles "
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"notes = notes[notes[ds_name].notnull()]"
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"notes = notes.astype(float)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Traitement des notes"
]
},
{
"cell_type": "code",
"execution_count": 12,
"metadata": {
"collapsed": false,
"scrolled": true
},
"outputs": [
{
"data": {
"text/plain": [
"Index(['DM_16_01_29', 'Exercice 1', '1.1 Developper', '1.2 Developper',\n",
" '1.3 Double developpement', '1.4 Developpement carré', 'Exercice 2',\n",
" '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": 12,
"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": 13,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/plain": [
"['Exercice 1', 'Exercice 2', 'Exercice 3', 'Exercice 4']"
]
},
"execution_count": 13,
"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": 14,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"autres_notes = []\n",
"#notes = notes.T.drop(\"Malus\").T"
]
},
{
"cell_type": "code",
"execution_count": 15,
"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": 16,
"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": 16,
"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": 17,
"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": 18,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"notes[item_avec_note] = notes[item_avec_note].fillna(\".\")\n",
"#notes"
]
},
{
"cell_type": "code",
"execution_count": 19,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"eleves = notes.copy()\n",
"eleves[sous_exo] = notes[sous_exo].applymap(toRepVal)"
]
},
{
"cell_type": "code",
"execution_count": 20,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/plain": [
"18"
]
},
"execution_count": 20,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"len(notes.T.index)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Un peu de statistiques"
]
},
{
"cell_type": "code",
"execution_count": 21,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/plain": [
"count 30.000000\n",
"mean 13.766667\n",
"std 4.356393\n",
"min 2.500000\n",
"25% 10.250000\n",
"50% 14.750000\n",
"75% 17.500000\n",
"max 19.000000\n",
"Name: DM_16_01_29, dtype: float64"
]
},
"execution_count": 21,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"notes[ds_name].describe()"
]
},
{
"cell_type": "code",
"execution_count": 22,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.text.Text at 0x7fbcc16939b0>"
]
},
"execution_count": 22,
"metadata": {},
"output_type": "execute_result"
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+1fdEC+2y2/ZTte6vTH6SMCYNHN5gvcpc7ZvKl\nGUm8/k8lXRIRe2y/RNI9tr8SEffP2+/rEXFO4lgAAChK0k4+Ih6LiD3V5Wck3SfpmAV2dco4MFzo\nBvNF7nLHTL40tc3kba+TtEnSXQvcfJrt3ba/bPvEumICAKDJainy1UP1N0j6YNXRd7pH0rERcbKk\nKyXdWEdMGBy6wXyRu9wxky9N8iJve0TtAr8jIr40//aIeCYinq0u3ybpBbaP6mHdmdPo6OicPz6t\nVovtId7euXPnUMXDNtvDtD0+Pq65xbhVnYZ1e4fSxjve5/Vaasfcz/Vmt8fHx/v2+9BqtebUupVw\nRKzoC3v+BvY1kv4pIi5Z5PajI+JgdflUSddHxLoua0bquAFgECYnJ7VxoyRt6PPKd0g6LqN1U66d\nat1JTUxIGzakOBbt5jYillXtR5JEUrF9hqR3SNpre7ekkHS5pGMlRUR8VtKv2/59Sc9J+n+S3p4y\nJgAASpH62fXfjIjVEbEpIk6OiFMi4vaI+F9VgVdEfCoiTqpuf0NELPTEPDRI50NTyAu5yx0z+dLw\njncAADQURR61oxvMF7nLHa+TLw1FHgCAhqLIo3Z0g/kid7ljJl8aijwAAA1FkUft6AbzRe5yx0y+\nNBR5AAAaiiKP2tEN5ovc5Y6ZfGko8gAANBRFHrWjG8wXucsdM/nSUOQBAGgoijxqRzeYL3KXO2by\npaHIAwDQUBR51I5uMF/kLnfM5EtDkQcAoKEo8qgd3WC+yF3umMmXhiIPAEBDLVnkbf9Rdf62esJB\nCegG80XucsdMvjTdOvk
"text/plain": [
"<matplotlib.figure.Figure at 0x7fbcc16d3128>"
]
},
"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": 23,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7fbcc1613eb8>"
]
},
"execution_count": 23,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAgAAAAFXCAYAAADUG/YoAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzsvVdwHFmapfm5hw5EIACEAhDQgiCoZZJMJlMrZqWs6q7q\n7ump3p5Zs31Ym4fdfR7bGuu1th1bm5e1fVhbs92eFjbdVV2VWjEzmcxkUpNJTWiNCAAhgdDafR88\nwokgARCgSFVxzGBQHu7XI67fe+7/n/9cQZZlqqiiiiqqqKKKPy6I33cDqqiiiiqqqKKK7x5VAlBF\nFVVUUUUVf4SoEoAqqqiiiiqq+CNElQBUUUUVVVRRxR8hqgSgiiqqqKKKKv4IUSUAVVRRRRVVVPFH\niA0RAEEQ/l9BEPyCIFxf45j/UxCEUUEQrgqCsOvBm1hFFVVUUUUVVTxsbDQC8HfAS6v9UxCEo0C3\nLMu9wP8A/N8P0LYqqqiiiiqqqOIRYUMEQJblU8DiGoe8AfxD6djzgE0QBPf9N6+KKqqooooqqngU\neNgaAA8wu+x3X+lvVVRRRRVVVFHFDwgPmwAIK/yt6jVcRRVVVFFFFT8waB/y+bxA67LfW4C5e71I\nEIQqSaiiiiqqqOKPDrIsr7Rw/k5wPwRAYOWVPsD7wP8I/FYQhIPAkizL/vWc9G//t78lV8itrwGC\ngFFvxGa14bK7aG1spaulixpzzbpe/2OG0WMk48t83814ZMgVckz7ppn2TbMQXmAptkQqk0KSpA2d\n5ze/+Q2/+c1v1jzGUe/A4/bgcXtocbVQb6tHEL63Z/F7wU+9PwEEIgFujt5kdn6WpdgS2VwWSb53\nfxIEgSZnEwd3HqSrpQtLu+WefQrAZrHR6GzEbXfT6Gik0dGI2WR+CHfy48AfQ5+6E9lclrnAHD6/\nD5/fx1xgjmw+u+Zr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n22v30s0fpuwCYKA214ZBSyPRUVZZnh2gi8ufkUotkhREJAFAUedg2Qm\nqUQfRQ1yIY9GkjAbTOTTSfbuOszOHQco5CW6+6oRgFUJACiTzafffMrYzBgGnYHnH3+ebb3b1M4/\nNTfFuavnmF2YrVgd1Fpq2dqzlQM7D2DUr6wBkCQJr9/L9Nw084F5wtHwmoPP8vC0x+Wh09OJy+76\nyRKDTC7DlHeK6flpAqEAi/FF0pn06voLgwmb1Ybb7qa1qZXOls5VB9lCocD47DiDE4OMTY+p77mz\nwcmW7i30d/VTV1sHKDm3AjJFGebCC/z+i3dJZFJIgkCzu4WleJR0Ns2f/+zPsdRYycnKOl8nCEj5\nPP/w3t9TzOdw2ur5q1f/kqu3vuX0xa/VGthtPduQZInBiUFkWabWUsv+bfvZuXknel1lmkiWZRZj\nixWEILhYmf+z1yn9w9PoUcOC1cEaisUiw1PDjE6P4g/6iafiq5JwQNUC1VpqaXI00d/VT7unvSIv\nvxzLieTE7IQauWl2NatE8lGmcLwLXt49/q66qrfX2fn5Cz/HXmdXj8lkM0x4JxifGWdidkJNIWg0\nGtqa2uhp66HZ1Uwmm2EhtIA/5GchtMBSfKniWga9oUJP0OhopL72j0/EulFkshlFrBe4LdZbHqU0\nGoxKdK9RmewbHY3odXqKskxelsnJEnlkro7c5NyNC2oqQBRE2ps7MGh1TI7fQgsYtXryOWVeM5ss\nZHMZ9HoDv3jz36HT6aoEQG3EGgQAlEH3+sh1jp89Ti6fo7e9l5ePvEyNqVL1PzI1woXrF5gLzFWI\nf+pr69m5eSf7tu5bV3i/UCgwuzDLlG+KhdACi9FFRaC2Sp5Rr9NTW1OrEAO3h66WLhz1jnXe/feP\nQqHAzPwMU3NTLAQXWIw
"text/plain": [
"<matplotlib.figure.Figure at 0x7fbcc175c128>"
]
},
"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": 24,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAegAAAFhCAYAAAC77zkcAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3X20ZHV15//3h25gBBSx44CKPDrdJkbSIQkq6PT1IUmL\nBGZlYmKuEwhmmV+y7MYQl0qcGbs6iY7O+sWMdutaUQkKI8GAMSIaRMM0iTEiCggGvA3N1QaVVhuE\nEBwfLnv+OOd2F5dbt6pOfc9DnfN5rVWrqu6t+u59TtU+36qzq04pIjAzM7NmOaDuBMzMzOyxPEGb\nmZk1kCdoMzOzBvIEbWZm1kCeoM3MzBrIE7SZmVkDeYLuMEmzkq6uOw8zK5/rffp4gq6JpK9JeljS\ng5L+NT9/V5U5RMSlEbEx5ZiSDpR0uaR5SY9I+o8pxzebRi2u9+dIukbSXkl7JH1Y0lEpY3SZJ+j6\nBPCyiHhCRDw+Pz8vZQBJq1KON4Z/BF4JfKum+GZN09Z6PwL4C+DY/PQQcFENebSSJ+h6adk/Su+R\ndHnf9bdL+nTf9TMk3STpfkmflfTsvv/NS3qDpC8DD0k6QNLRkj4i6duSvrP4yl3SOZL+se++z+p7\nNfwtSRfkf5ekCyTdmd//MklPXC73iPhRRLwrIj4HPDLpCjJrkTbW+9UR8ZGIeCgi/i+wHTh1wvVk\nOU/QzfQ64NmSzpb0AuBc4GwASScDFwKvBp5E9ur1SkkH9t3/FcBLgcWiugqYB44BngZc1nfbyMc9\nDPg08EngKcAzgL/Pb/Na4EzgBcBTgfuB96RbXLNOa1O9bwD+ZcTb2jAR4VMNJ7ICehC4j6wA7gN+\np+//Pw/szW/3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Figure at 0x7fbcc16f7668>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"ax = notes[list_exo].hist()"
]
},
{
"cell_type": "code",
"execution_count": 25,
"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>30.000000</td>\n",
" <td>29.000000</td>\n",
" <td>30.000000</td>\n",
" <td>28.000000</td>\n",
" <td>30.000000</td>\n",
" <td>30.000000</td>\n",
" <td>30.000000</td>\n",
" <td>30.000000</td>\n",
" <td>30.000000</td>\n",
" <td>28.000000</td>\n",
" <td>28.000000</td>\n",
" <td>29.000000</td>\n",
" <td>27.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>mean</th>\n",
" <td>2.600000</td>\n",
" <td>2.034483</td>\n",
" <td>1.900000</td>\n",
" <td>1.892857</td>\n",
" <td>2.266667</td>\n",
" <td>2.200000</td>\n",
" <td>2.333333</td>\n",
" <td>2.433333</td>\n",
" <td>1.833333</td>\n",
" <td>1.750000</td>\n",
" <td>1.285714</td>\n",
" <td>2.517241</td>\n",
" <td>2.222222</td>\n",
" </tr>\n",
" <tr>\n",
" <th>std</th>\n",
" <td>0.723974</td>\n",
" <td>1.017095</td>\n",
" <td>0.994814</td>\n",
" <td>1.196887</td>\n",
" <td>1.112107</td>\n",
" <td>0.961321</td>\n",
" <td>0.711159</td>\n",
" <td>1.006302</td>\n",
" <td>1.116748</td>\n",
" <td>1.142609</td>\n",
" <td>1.410467</td>\n",
" <td>0.784706</td>\n",
" <td>1.050031</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.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>1.000000</td>\n",
" <td>1.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.000000</td>\n",
" <td>0.000000</td>\n",
" <td>2.000000</td>\n",
" <td>2.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>50%</th>\n",
" <td>3.000000</td>\n",
" <td>2.000000</td>\n",
" <td>2.000000</td>\n",
" <td>2.000000</td>\n",
" <td>3.000000</td>\n",
" <td>2.000000</td>\n",
" <td>2.000000</td>\n",
" <td>3.000000</td>\n",
" <td>2.000000</td>\n",
" <td>2.000000</td>\n",
" <td>0.500000</td>\n",
" <td>3.000000</td>\n",
" <td>3.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 30.000000 29.000000 30.000000 \n",
"mean 2.600000 2.034483 1.900000 \n",
"std 0.723974 1.017095 0.994814 \n",
"min 0.000000 0.000000 0.000000 \n",
"25% 2.000000 1.000000 1.000000 \n",
"50% 3.000000 2.000000 2.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 30.000000 30.000000 \n",
"mean 1.892857 2.266667 2.200000 \n",
"std 1.196887 1.112107 0.961321 \n",
"min 0.000000 0.000000 0.000000 \n",
"25% 1.000000 2.000000 2.000000 \n",
"50% 2.000000 3.000000 2.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 30.000000 30.000000 \n",
"mean 2.333333 2.433333 \n",
"std 0.711159 1.006302 \n",
"min 0.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 30.000000 28.000000 28.000000 29.000000 27.000000 \n",
"mean 1.833333 1.750000 1.285714 2.517241 2.222222 \n",
"std 1.116748 1.142609 1.410467 0.784706 1.050031 \n",
"min 0.000000 0.000000 0.000000 0.000000 0.000000 \n",
"25% 1.000000 1.000000 0.000000 2.000000 2.000000 \n",
"50% 2.000000 2.000000 0.500000 3.000000 3.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": 25,
"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": 26,
"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>30</td>\n",
" <td>29</td>\n",
" <td>30</td>\n",
" <td>28</td>\n",
" <td>30</td>\n",
" <td>30</td>\n",
" <td>30</td>\n",
" <td>30</td>\n",
" <td>30</td>\n",
" <td>28</td>\n",
" <td>28</td>\n",
" <td>29</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 30 29 30 \n",
"\n",
" 1.4 Developpement carré 2.1 Addition fraction 2.2 Addition fractions \\\n",
"count 28 30 30 \n",
"\n",
" 2.3 Multiplication Fraction 2.4 Multiplication Fraction \\\n",
"count 30 30 \n",
"\n",
" 1 (developper) 2 (multiplication) Comparaison Pythagore Thalès \n",
"count 30 28 28 29 27 "
]
},
"execution_count": 26,
"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": 28,
"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
}