Commit d0f364d5 authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

update pandas

parent b7592e6e
......@@ -2,7 +2,7 @@ Django==2.2.*
psycopg2
psycopg2-binary
mod_wsgi
pandas<=0.25
pandas<=1.3.5
jinja2
openpyxl
django-crispy-forms
......
......@@ -1101,9 +1101,9 @@ def download_responses(request):
row_header = [o.explicit_name for o in virus]
if host_infection_ratio_shift == 1:
row_header.insert(0, _("Infection ratio"))
row_header.insert(0, ugettext("Infection ratio"))
if virus_infection_ratio_shift == 1:
col_header.insert(0, _("Infection ratio"))
col_header.insert(0, ugettext("Infection ratio"))
# get at which position each host is, mandatory if data are sparse
col_pos = dict([(pk, i) for i, pk in enumerate(
......@@ -1287,8 +1287,8 @@ def host_or_virus_download(request, is_host, instance):
data = []
if infection_ratio_shift == 1:
col_header.insert(0, _("Infection ratio"))
row_header.insert(0, _("Infection ratio"))
col_header.insert(0, ugettext("Infection ratio"))
row_header.insert(0, ugettext("Infection ratio"))
data.append([""] * len(col_header))
# get at which position each col is
......
Supports Markdown
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