fix
This commit is contained in:
@@ -298,7 +298,7 @@ def handle_check_race_course(self,
|
||||
rowdata = rowdata[rowdata['time']>splitsecond]
|
||||
# we may want to expand the time (interpolate)
|
||||
rowdata['dt'] = rowdata['time'].apply(
|
||||
lambda x: safetimedelta(seconds=x)
|
||||
lambda x: safetimedelta(x)
|
||||
)
|
||||
rowdata = rowdata.resample('100ms',on='dt').mean()
|
||||
rowdata = rowdata.interpolate()
|
||||
@@ -624,7 +624,7 @@ def handle_calctrimp(id,
|
||||
|
||||
df2['time'] = df2[' ElapsedTime (sec)']
|
||||
df2['time'] = df2['time'].apply(
|
||||
lambda x:safetimedelta(seconds=x)
|
||||
lambda x:safetimedelta(x)
|
||||
)
|
||||
|
||||
duration = df['TimeStamp (sec)'].max()-df['TimeStamp (sec)'].min()
|
||||
|
||||
Reference in New Issue
Block a user