陈俊杰 commited on
Commit
b4af3db
1 Parent(s): 496eb7b

cjj-leaderboard

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -241,8 +241,9 @@ This leaderboard is used to show the performance of the <strong>automatic evalua
241
  overall = [i / (3*4) for i in overall]
242
  data[('', 'overall')] = overall
243
  for d in data:
244
- for col in d.select_dtypes(include=['float64', 'int64']).columns:
245
- d[col] = d[col].apply(lambda x: f"{x:.4f}")
 
246
  st.dataframe(data, use_container_width=True)
247
  # # teamId 唯一标识码
248
  # DG = {
 
241
  overall = [i / (3*4) for i in overall]
242
  data[('', 'overall')] = overall
243
  for d in data:
244
+ if d != ('', 'teamId') and d != ('', 'methods'):
245
+ for col in range(len(data[d])):
246
+ data[d][col] = data[d][col].apply(lambda x: f"{x:.4f}")
247
  st.dataframe(data, use_container_width=True)
248
  # # teamId 唯一标识码
249
  # DG = {