Skip to content

Commit

Permalink
Update generate_latex_table.py
Browse files Browse the repository at this point in the history
  • Loading branch information
smilesun authored Dec 9, 2024
1 parent 1b98e58 commit e6ac695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate_latex_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e6ac695

Please sign in to comment.