summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.py b/main.py
index da7c6ae..ee8c3a7 100644
--- a/main.py
+++ b/main.py
@@ -65,6 +65,7 @@ if OPEN_FILES:
65# BAN DURATION STATS 65# BAN DURATION STATS
66 66
67with open(STATS_FILE, "w") as stats_file: 67with open(STATS_FILE, "w") as stats_file:
68 stats_file.write("Ban duration:\n")
68 stats_file.write("Mean: %.2f days\n" % np.mean(ban_durations)) 69 stats_file.write("Mean: %.2f days\n" % np.mean(ban_durations))
69 stats_file.write("Median: %.2f days\n" % np.median(ban_durations)) 70 stats_file.write("Median: %.2f days\n" % np.median(ban_durations))
70 stats_file.write("Deviation: %.2f\n" % np.std(ban_durations)) 71 stats_file.write("Deviation: %.2f\n" % np.std(ban_durations))