Skip to content

Commit fba4fd6

Browse files
authored
Move summary sheet to first place in report (#156)
1 parent 328fcaf commit fba4fd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklbench/report/implementation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def generate_report(args: argparse.Namespace):
353353
summary_df = summary_df[summary_df.columns.sortlevel(level=0, ascending=False)[0]]
354354
logger.info(f"{custom_format('Report summary', bcolor='HEADER')}\n{summary_df}")
355355
if summary_df.size > 0:
356-
summary_ws = wb.create_sheet("Summary")
356+
summary_ws = wb.create_sheet(title="Summary", index=0)
357357
write_df_to_sheet(summary_df, summary_ws)
358358
apply_rules_for_sheet(summary_ws, args.perf_color_scale, args.quality_color_scale)
359359
# write environment info

0 commit comments

Comments
 (0)