diff --git a/day-to-day-comparisons.py b/daily-comparisons.py similarity index 79% rename from day-to-day-comparisons.py rename to daily-comparisons.py index 99a13a6..79b76d2 100644 --- a/day-to-day-comparisons.py +++ b/daily-comparisons.py @@ -28,10 +28,10 @@ for month in range(6, 8, 1) : else : d = day 15 - if (day <= 13) or (day == 15) or (day == 20) or (day == 23) or (day == 25) or (day == 27) : - print(f"Skipping: Day {d} -- incomplete data...") + if (day <= 13) : + print(f"Skipping: 2021-0{month}-{d} -- missing data...") else : - print(f"PROCESSING: 2021-{month}-{day} for Meter {meter}...") + print(f"PROCESSING: 2021-0{month}-{day} for Meter {meter}...") file_data = [] file_path = f"data/light-meter-{meter}/2021-0{month}-{d}.csv" single_file = pd.read_csv (file_path, sep="," ,header=None, @@ -51,7 +51,7 @@ for month in range(6, 8, 1) : legend_label=f"Meter: {meter}", line_color=random_colour()) counter = 0 - p.title = f"Side-by-Side Comparison Day: {day}" - output_file(f"output/side-by-side-day-{d}.html", - title=f"Side-by-Side Comparison For Day: {d} (From Each Month)") + p.title = f"Side-by-Side Comparison: 2021-0{month}-{day}" + output_file(f"output/side-by-side-day-0{month}-{d}.html", + title=f"Side-by-Side Comparison: 2021-0{month}-{d}") save(p)