Spaces:
Running
Running
kz-transformers
commited on
Update src/leaderboard/build_leaderboard.py
Browse files
src/leaderboard/build_leaderboard.py
CHANGED
@@ -98,6 +98,8 @@ def build_leadearboard_df():
|
|
98 |
|
99 |
leaderboard_df.sort_values(by='avg',ascending=False,inplace=True,axis=0)
|
100 |
numeric_cols = leaderboard_df.select_dtypes(include=['number']).columns
|
|
|
101 |
# print(numeric_cols)
|
102 |
leaderboard_df[numeric_cols] = leaderboard_df[numeric_cols].round(3)
|
|
|
103 |
return leaderboard_df.copy()
|
|
|
98 |
|
99 |
leaderboard_df.sort_values(by='avg',ascending=False,inplace=True,axis=0)
|
100 |
numeric_cols = leaderboard_df.select_dtypes(include=['number']).columns
|
101 |
+
print('NUMERIC COLS: ', numeric_cols)
|
102 |
# print(numeric_cols)
|
103 |
leaderboard_df[numeric_cols] = leaderboard_df[numeric_cols].round(3)
|
104 |
+
print('LEADERBOARD DF AFTER ROUND: ', leaderboard_df)
|
105 |
return leaderboard_df.copy()
|