diff options
-rw-r--r-- | main.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -65,6 +65,7 @@ if OPEN_FILES: | |||
65 | # BAN DURATION STATS | 65 | # BAN DURATION STATS |
66 | 66 | ||
67 | with open(STATS_FILE, "w") as stats_file: | 67 | with 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)) |