Skip to content

Commit d39bfc3

Browse files
committed
Add Repair Dataframe and Compute time frame
1 parent 26032e0 commit d39bfc3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

PostProcessing/dataframes.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ def compute_time_step(video_timestamps: pd.DataFrame) -> float:
2020

2121

2222
return time_step
23+
24+
2325
def repair_dropped_frames(df: pd.DataFrame, time_step: float) -> pd.DataFrame:
2426
df['timestamp'] = pd.to_datetime(df['timestamp']).astype(np.int64)
2527
timestamps = df['timestamp']

0 commit comments

Comments
 (0)