Skip to content

Commit

Permalink
Evaluate: YCSB as timeseries per experiment run - tests
Browse files Browse the repository at this point in the history
  • Loading branch information
perdelt committed Jan 27, 2025
1 parent f6a375f commit 96717f5
Show file tree
Hide file tree
Showing 2 changed files with 2,973 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bexhoma/evaluators.py
Original file line number Diff line number Diff line change
Expand Up @@ -1136,13 +1136,14 @@ def find_matching_files(directory, pattern):
if remove_last > 0:
df = df.iloc[:-remove_last]
#print(df)
df['avg'] = df[column].mean()
#df['avg'] = df[column].mean()
#print(df)
#df_total = pd.concat([df_total, df], axis=1)
if not aggregate:
df_total.append(df.copy())
else:
if df_total.empty:
df['avg'] = df[column].mean()
df_total = df.copy()
else:
df_total = df_total.add(df, fill_value=0)
Expand Down
Loading

0 comments on commit 96717f5

Please sign in to comment.