From e6ac695ebfc38c32c0b9da0e12f1e1209c206b73 Mon Sep 17 00:00:00 2001 From: Xudong Sun Date: Mon, 9 Dec 2024 16:55:19 +0100 Subject: [PATCH] Update generate_latex_table.py --- scripts/generate_latex_table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate_latex_table.py b/scripts/generate_latex_table.py index caa333aab..ebade0583 100644 --- a/scripts/generate_latex_table.py +++ b/scripts/generate_latex_table.py @@ -10,7 +10,7 @@ def gen_latex_table(raw_df, fname="table_perf.tex", """ aggregate benchmark csv file to generate latex table """ - df_result = raw_df.groupby(group)[str_perf].agg(["mean", "std"]) + df_result = raw_df.groupby(group)[str_perf].agg(["mean", "std", "count"]) latex_table = df_result.to_latex(float_format="%.3f") str_table = df_result.to_string() print(str_table)