Spaces:
Runtime error
Runtime error
Changed order of columns with sort by names
Browse files
server.py
CHANGED
@@ -303,8 +303,10 @@ class LeaderboardServer:
|
|
303 |
key
|
304 |
for key in dict.fromkeys(
|
305 |
first_attributes
|
306 |
-
+
|
307 |
-
|
|
|
|
|
308 |
).keys()
|
309 |
if key in dataframe.columns
|
310 |
]
|
|
|
303 |
key
|
304 |
for key in dict.fromkeys(
|
305 |
first_attributes
|
306 |
+
+ sorted(
|
307 |
+
list(self.TASKS_METADATA.keys())
|
308 |
+
+ list(dataframe.columns)
|
309 |
+
)
|
310 |
).keys()
|
311 |
if key in dataframe.columns
|
312 |
]
|