Commit 2d4d5130 authored by Bruno Meyer's avatar Bruno Meyer 😢
Browse files

Merge branch '114-integrar-analises-relacionada-ao-curso-com-o-sistema-web' into 'development'

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

Closes #114

See merge request !37
parents f6276a96 e3c499c8
Pipeline #18277 passed with stage
in 16 seconds
......@@ -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