From 3419b3e93dd06f13cc34d15d8941b3af7a93d7cd Mon Sep 17 00:00:00 2001 From: perhalvorsen <31341520+pmhalvor@users.noreply.github.com> Date: Thu, 7 Nov 2024 22:18:05 +0100 Subject: [PATCH] fix missing bracket --- src/stages/audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stages/audio.py b/src/stages/audio.py index 46b015c..99225fe 100644 --- a/src/stages/audio.py +++ b/src/stages/audio.py @@ -163,7 +163,7 @@ def _build_time_frames(self, df: pd.DataFrame): df["startTime"] = df["startTime"].astype(str).apply(lambda x: x.split(".")[0]) df["endTime"] = df["endTime"].astype(str).apply(lambda x: x.split(".")[0]) - df["startTime"] = pd.to_datetime(" ".join([df["startDate"].astype(str), df["startTime"])) + df["startTime"] = pd.to_datetime(" ".join([df["startDate"].astype(str), df["startTime"]])) df["endTime"] = pd.to_datetime(" ".join([df["startDate"].astype(str), df["endTime"]])) df["start_time"] = df.startTime - timedelta(seconds=margin)