add a percentage
This commit is contained in:
parent
b51151c0e2
commit
f3ed0e3c8f
2
main.py
2
main.py
|
@ -231,7 +231,7 @@ def generate_final_report_data(ws):
|
||||||
[(total_girls + total_boys) / total_sites, ""],
|
[(total_girls + total_boys) / total_sites, ""],
|
||||||
["", ""],
|
["", ""],
|
||||||
["Percentages of Relevant Demographics", ""],
|
["Percentages of Relevant Demographics", ""],
|
||||||
["Girls", str(total_girls / total_children * 100)[:5] + "%"],
|
["Girls", str(total_girls / total_children * 100)[:5] + "% + "%""],
|
||||||
["Hispanic", str(int(ethnicity_breakdown[0][1]) / total_children * 100)[:5] + "%"],
|
["Hispanic", str(int(ethnicity_breakdown[0][1]) / total_children * 100)[:5] + "%"],
|
||||||
["People of Color", str(int(race_breakdown[3][1]) / total_children * 100)[:5] + "%"],
|
["People of Color", str(int(race_breakdown[3][1]) / total_children * 100)[:5] + "%"],
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue