Commit 418e903d authored by msrr18's avatar msrr18 😑

#136 workaround

parent 110394c1
......@@ -191,7 +191,10 @@ def fails_by_freq(df):
('Pietra Martins Moreira', 'CI210')]}
"""
people_studying_df = df[df['FORMA_EVASAO'] == EvasionForm.EF_ATIVO]
// workaround: SIT_REPROVADO_FREQ é o item 1 na tupla SITUATION_FAIL
failedbyfreq = people_studying_df.loc[people_studying_df['SITUACAO'] == Situation.SITUATION_FAIL[1]]
coursefailed_bystudent = failedbyfreq.groupby(["NOME_PESSOA", "MATR_ALUNO", "COD_ATIV_CURRIC"])
final_dict = {}
for n in fails_by_freq:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment