Files changed (1) hide show
  1. src/populate.py +1 -1
src/populate.py CHANGED
@@ -75,7 +75,7 @@ def get_leaderboard_df(
75
  df[col] = np.nan
76
 
77
  if not df.empty:
78
- df = df.map(lambda x: round(x, 2) if isinstance(x, (int, float)) else x)
79
 
80
  # filter out if any of the benchmarks have not been produced
81
  # df = df[has_no_nan_values(df, benchmark_cols)]
 
75
  df[col] = np.nan
76
 
77
  if not df.empty:
78
+ df = df.round(decimals=2)
79
 
80
  # filter out if any of the benchmarks have not been produced
81
  # df = df[has_no_nan_values(df, benchmark_cols)]