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)