more infos in student pov
This commit is contained in:
parent
205c2d1dd8
commit
989a2e6c1b
|
@ -384,6 +384,8 @@ def digest_flat_df(flat_df):
|
|||
|
||||
return df, exo_df, eval_df
|
||||
|
||||
# Organize data
|
||||
|
||||
def students_pov(quest_df, exo_df, eval_df):
|
||||
"""
|
||||
|
||||
|
@ -421,6 +423,7 @@ def students_pov(quest_df, exo_df, eval_df):
|
|||
for e in eval_df["Eleve"].unique():
|
||||
eleve = {"Nom":e}
|
||||
e_quest = quest_df[quest_df["Eleve"] == e]
|
||||
eleve["quest"] = e_quest
|
||||
e_exo = exo_df[exo_df["Eleve"] == e]
|
||||
#e_df = ds_df[ds_df["Eleve"] == e][["Exercice", "Question", "Bareme", "Commentaire", "Niveau", "Mark", "Latex_rep"]]
|
||||
eleve["Total"] = eval_df[eval_df["Eleve"]==e].iloc[0]
|
||||
|
|
Loading…
Reference in New Issue