fix
This commit is contained in:
@@ -1018,7 +1018,7 @@ def handle_check_race_course(self,
|
||||
lambda x: safetimedelta(x)
|
||||
).values
|
||||
|
||||
rowdata = rowdata.select_types(['number'])
|
||||
rowdata = rowdata.select_dtypes(['number'])
|
||||
rowdata = rowdata.resample('100ms', on='dt').mean()
|
||||
rowdata = rowdata.interpolate()
|
||||
|
||||
@@ -2635,7 +2635,7 @@ def handle_makeplot(f1, f2, t, hrdata, plotnr, imagename,
|
||||
if (plotnr in [1, 2, 4, 5, 8, 11, 9, 12]) and (nr_rows > 1200): # pragma: no cover
|
||||
bin = int(nr_rows / 1200.)
|
||||
try:
|
||||
df = row.df.select_types(['number'])
|
||||
df = row.df.select_dtypes(['number'])
|
||||
df = df.groupby(lambda x: x / bin).mean()
|
||||
row.df = df
|
||||
except:
|
||||
|
||||
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
Binary file not shown.
Reference in New Issue
Block a user