Spaces:
Running
on
Zero
Running
on
Zero
File size: 418 Bytes
e368cec |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
import pickle
with open("./results/latest/elo_results.pkl",'rb') as f:
data = pickle.load(f)
print()
df = data["anony"]["leaderboard_table_df"]
# sort by rating
df = df.sort_values(by=["rating"], ascending=False)
print(df)
print()
df = data["full"]["leaderboard_table_df"]
# sort by rating
df = df.sort_values(by=["rating"], ascending=False)
print(df)
print('done') |