From aca1be5265bbc4d7f2c97e01dc77b3e7cd68dec8 Mon Sep 17 00:00:00 2001 From: Akshen Date: Mon, 22 Oct 2018 15:25:19 +0530 Subject: Adds Workshop Month Mean - Calculates mean for workshops monthly from the beginning to current year - Displays on monthly chart as Line --- requirements.txt | 1 + .../templates/statistics_app/workshop_stats.html | 16 +++++- statistics_app/views.py | 60 ++++++++++++++++++++-- 3 files changed, 70 insertions(+), 7 deletions(-) diff --git a/requirements.txt b/requirements.txt index efa8668..26dfdca 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,3 +6,4 @@ pytz==2016.10 six==1.10.0 coverage pyaml +pandas==0.18.0 diff --git a/statistics_app/templates/statistics_app/workshop_stats.html b/statistics_app/templates/statistics_app/workshop_stats.html index 6a48279..f5f5eb0 100644 --- a/statistics_app/templates/statistics_app/workshop_stats.html +++ b/statistics_app/templates/statistics_app/workshop_stats.html @@ -153,7 +153,6 @@ {% endif %} {% endfor %} -