Spaces:
Runtime error
Runtime error
osanseviero
commited on
Commit
·
26b1418
1
Parent(s):
3af9df6
Update app.py
Browse files
app.py
CHANGED
@@ -113,7 +113,7 @@ def get_data_per_env(assignment):
|
|
113 |
dataframe["User"] = dataframe["User"].apply(make_clickable_user)
|
114 |
dataframe["Model"] = dataframe["Model"].apply(make_clickable_model)
|
115 |
print(dataframe)
|
116 |
-
dataframe = dataframe.sort_values(by=['
|
117 |
if not 'Ranking' in dataframe.columns:
|
118 |
dataframe.insert(0, 'Ranking', [i for i in range(1,len(dataframe)+1)])
|
119 |
else:
|
|
|
113 |
dataframe["User"] = dataframe["User"].apply(make_clickable_user)
|
114 |
dataframe["Model"] = dataframe["Model"].apply(make_clickable_model)
|
115 |
print(dataframe)
|
116 |
+
dataframe = dataframe.sort_values(by=['Result'], ascending=False)
|
117 |
if not 'Ranking' in dataframe.columns:
|
118 |
dataframe.insert(0, 'Ranking', [i for i in range(1,len(dataframe)+1)])
|
119 |
else:
|