Closed perdelt closed 9 months ago
Content of result folder:
from dbmsbenchmarker import *
# path of folder containing experiment results
resultfolder = "/results/"
# create evaluation object for result folder
evaluate = inspector.inspector(resultfolder)
# dataframe of experiments
df = evaluate.get_experiments_preview().sort_values('time')
df['info'] = df['info'].str.replace('. ', '.\n')
#import pandas as pd
from prettytable import PrettyTable
# Create a PrettyTable object
pt = PrettyTable()
pt.field_names = df.columns
pt.align['info'] = 'r' # 'r' for right alignment
# Add rows to the PrettyTable
for _, row in df.iterrows():
pt.add_row(row)
# Display the PrettyTable
print(pt)
included in #260