DontPlanToEnd commited on
Commit
6ad8ad5
β€’
1 Parent(s): a4931f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -43,9 +43,9 @@ def load_leaderboard_data(csv_file_path):
43
  numeric_columns = df.select_dtypes(include=[np.number]).columns
44
  df[numeric_columns] = df[numeric_columns].round(3)
45
 
46
- # Specifically round the W/10 column to 2 decimal places
47
  if 'W/10 πŸ‘' in df.columns:
48
- df['W/10 πŸ‘'] = df['W/10 πŸ‘'].round(2)
49
 
50
  return df
51
  except Exception as e:
 
43
  numeric_columns = df.select_dtypes(include=[np.number]).columns
44
  df[numeric_columns] = df[numeric_columns].round(3)
45
 
46
+ # Round the W/10 column to 1 decimal place
47
  if 'W/10 πŸ‘' in df.columns:
48
+ df['W/10 πŸ‘'] = df['W/10 πŸ‘'].round(1)
49
 
50
  return df
51
  except Exception as e: