Update app.py
Browse files
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 |
-
#
|
| 47 |
if 'W/10 π' in df.columns:
|
| 48 |
-
df['W/10 π'] = df['W/10 π'].round(
|
| 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:
|