diff --git a/backend/scripts/time_residuals.py b/backend/scripts/time_residuals.py
index 7c0bb254b09f0d177b1a714f77328eaea722421c..758fd2f778545829658563faf7b1bcd85b1c69db 100755
--- a/backend/scripts/time_residuals.py
+++ b/backend/scripts/time_residuals.py
@@ -41,7 +41,6 @@ def main():
             args['TIME_RESIDUALS_FILE'],
             names=["run", "timestamp", "du", "floor", "dom_id", "t_res", "Q"]
         )
-        df = pd.read_csv(args['TIME_RESIDUALS_FILE'])
         df = df[df.timestamp > time.time() - 60 * 60 * hours]
         print(f" -> number of entries: {len(df)}")