Private
Public Access
1
0
This commit is contained in:
2023-09-01 12:57:33 +02:00
parent 0457455fd5
commit 2fbd15d5ab

View File

@@ -2645,8 +2645,8 @@ 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 if (plotnr in [1, 2, 4, 5, 8, 11, 9, 12]) and (nr_rows > 1200): # pragma: no cover
bin = int(nr_rows / 1200.) bin = int(nr_rows / 1200.)
try: try:
df = df.select_types(['number']) df = row.df.select_types(['number'])
df = row.df.groupby(lambda x: x / bin).mean() df = df.groupby(lambda x: x / bin).mean()
row.df = df row.df = df
except: except:
pass pass