From 16b84e11b052130b5766f582d118a9bd5eb564e6 Mon Sep 17 00:00:00 2001 From: Tamas Gal <tgal@km3net.de> Date: Mon, 3 Jun 2019 17:38:54 +0200 Subject: [PATCH] Improve CSV read-in --- scripts/time_residuals.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/time_residuals.py b/scripts/time_residuals.py index f99fed7..9750ffa 100644 --- a/scripts/time_residuals.py +++ b/scripts/time_residuals.py @@ -35,9 +35,7 @@ def main(): hours = 2 while True: - df = pd.read_csv( - 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] fig, axes = plt.subplots(nrows=6, -- GitLab