From fba4fd6ef49cf70f23c2d18d38c8440a8c47d028 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Fri, 27 Sep 2024 22:59:44 +0100 Subject: [PATCH] Move summary sheet to first place in report (#156) --- sklbench/report/implementation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sklbench/report/implementation.py b/sklbench/report/implementation.py index b577ab55..28fa2bb0 100644 --- a/sklbench/report/implementation.py +++ b/sklbench/report/implementation.py @@ -353,7 +353,7 @@ def generate_report(args: argparse.Namespace): summary_df = summary_df[summary_df.columns.sortlevel(level=0, ascending=False)[0]] logger.info(f"{custom_format('Report summary', bcolor='HEADER')}\n{summary_df}") if summary_df.size > 0: - summary_ws = wb.create_sheet("Summary") + summary_ws = wb.create_sheet(title="Summary", index=0) write_df_to_sheet(summary_df, summary_ws) apply_rules_for_sheet(summary_ws, args.perf_color_scale, args.quality_color_scale) # write environment info