Skip to content
Snippets Groups Projects
Verified Commit 02d003b2 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Fix an issue of time_residuals when CSV is moved

parent 0888e430
No related branches found
No related tags found
No related merge requests found
Pipeline #52686 failed
......@@ -37,6 +37,10 @@ def main():
while True:
print("Reading data...")
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]
print(f" -> number of entries: {len(df)}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment