Commit 147d0490 authored by Bruno Meyer's avatar Bruno Meyer 😢

Resolve "integrar analises relacionada ao curso com o sistema web"

parent d15afbdd
......@@ -7,7 +7,7 @@
<table class="table">
<tr>
<td>Quantidade de alunos ativos</td>
<td>{{degree_data.active_students}}</td>
<td>{{degree_data.qtd_alunos_atuais}}</td>
</tr>
<tr>
<td>I.R.A. médio desde o inicio do curso</td>
......@@ -26,7 +26,7 @@
<tr>
<td>Taxa de reprovação dos alunos atualmente no curso</td>
<td>{{ degree_data.taxa_reprovacao_atual.0|floatformat:2 }}% &#177; {{degree_data.media_reprovacao_alunos_cursando.1|floatformat:2}}%</td>
<td>{{ degree_data.taxa_reprovacao_atual.0|floatformat:2 }}% &#177; {{degree_data.taxa_reprovacao_atual.1|floatformat:2}}%</td>
</tr>
<tr>
{% comment %}
......
......@@ -23,13 +23,13 @@ def build_cache(dataframe,path):
student_analysis = StudentAnalysis(dataframe)
for cod, df in dataframe.groupby('COD_CURSO'):
path = path + '/'
generate_degree_data(path, df)
generate_student_data(path+'students/',df)
generate_admission_data(path+'admission/',df)
generate_course_data(path+'disciplina/' ,dataframe)
generate_cepe_data(path+'/others/',df)
for cod, df in dataframe.groupby('COD_CURSO'):
path = path + '/'
generate_degree_data(path, df)
generate_student_data(path+'students/',df,student_analysis)
generate_admission_data(path+'admission/',df)
generate_course_data(path+'disciplina/' ,dataframe)
generate_cepe_data(path+'/others/',df)
def generate_cepe_data(path,df):
......
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