small impro
This commit is contained in:
@@ -6607,7 +6607,7 @@ def get_zones_report(rower,startdate,enddate,trainingzones='hr'):
|
||||
|
||||
df = dataprep.getsmallrowdata_db(columns,ids=ids)
|
||||
try:
|
||||
df['deltat'] = df['time'].diff().clip(lower=0)
|
||||
df['deltat'] = df['time'].diff().clip(lower=0).clip(upper=20*1e3)
|
||||
except KeyError: # pragma: no cover
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user