BramVanroy commited on
Commit
399342f
1 Parent(s): 78dad7b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -148,7 +148,7 @@ class ResultSet:
148
  df = pd.DataFrame(data)
149
  df = df.sort_values(by=self.column_names["average"], ascending=False)
150
  number_cols = [col for attr, col in self.column_names.items() if attr in TASK_METRICS or attr == "average"]
151
- styler = df.style.format("{:.2f}", subset=number_cols, na_rep="<missing>")
152
 
153
  def highlight_max(col):
154
  return np.where(col == np.nanmax(col.to_numpy()), "font-weight: bold;", None)
 
148
  df = pd.DataFrame(data)
149
  df = df.sort_values(by=self.column_names["average"], ascending=False)
150
  number_cols = [col for attr, col in self.column_names.items() if attr in TASK_METRICS or attr == "average"]
151
+ styler = df.style.format("{:.4f}", subset=number_cols, na_rep="<missing>")
152
 
153
  def highlight_max(col):
154
  return np.where(col == np.nanmax(col.to_numpy()), "font-weight: bold;", None)