Neubla-MLteam commited on
Commit
a8d3462
1 Parent(s): 9a3dc9e

Update src/populate.py

Browse files
Files changed (1) hide show
  1. src/populate.py +2 -2
src/populate.py CHANGED
@@ -17,8 +17,8 @@ def get_leaderboard_df(results_path: str, cols: list, benchmark_cols: list) -> p
17
 
18
  df = pd.DataFrame.from_records(all_data_json)
19
  df = df.sort_values(by=[AutoEvalColumn.average.name], ascending=False)
20
- df = df[cols].round(decimals=2)
21
-
22
  # filter out if any of the benchmarks have not been produced
23
  df = df[has_no_nan_values(df, benchmark_cols)]
24
  return raw_data, df
 
17
 
18
  df = pd.DataFrame.from_records(all_data_json)
19
  df = df.sort_values(by=[AutoEvalColumn.average.name], ascending=False)
20
+ # df = df[cols].round(decimals=2)
21
+ df = df.round(decimals=2)
22
  # filter out if any of the benchmarks have not been produced
23
  df = df[has_no_nan_values(df, benchmark_cols)]
24
  return raw_data, df