Private
Public Access
1
0
This commit is contained in:
2023-09-06 21:09:27 +02:00
parent 278769487a
commit 139f9b1e2b
2 changed files with 2 additions and 2 deletions

View File

@@ -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:

Binary file not shown.