Order in doctest

This commit is contained in:
Benjamin Bertrand 2016-11-22 14:52:24 +03:00
parent f8899cfedd
commit ee6274fd0a
1 changed files with 5 additions and 5 deletions

View File

@ -287,11 +287,11 @@ def compute_eval_marks(df):
>>> df["Mark"] = compute_marks(df)
>>> df_exo = compute_exo_marks(df)
>>> compute_eval_marks(df_exo)
Eleve Nom Date Trimestre Bareme Mark Exercice Niveau
0 E1 N1 16/09/2016 1 6.0 5.0 Total 0
1 E1 N2 01/10/2016 1 4.0 3.0 Total 0
2 E2 N1 16/09/2016 1 6.0 4.5 Total 0
3 E2 N2 01/10/2016 1 4.0 3.5 Total 0
Eleve Nom Trimestre Bareme Date Mark Exercice Niveau
0 E1 N1 1 6.0 16/09/2016 5.0 Total 0
1 E1 N2 1 4.0 01/10/2016 3.0 Total 0
2 E2 N1 1 6.0 16/09/2016 4.5 Total 0
3 E2 N2 1 4.0 01/10/2016 3.5 Total 0
"""
#exo = df[df["Question"] == "Total"]