Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def compute_df():
|
|
37 |
# df["model"] = df["model"].apply(lambda x: x.split("/")[-1])
|
38 |
# round all numeric columns
|
39 |
# avg all numeric columns
|
40 |
-
df["avg"] = df.iloc[:,
|
41 |
df = df.round(3)
|
42 |
|
43 |
# sort by ndcg_at_5
|
|
|
37 |
# df["model"] = df["model"].apply(lambda x: x.split("/")[-1])
|
38 |
# round all numeric columns
|
39 |
# avg all numeric columns
|
40 |
+
df["avg"] = df.iloc[:, 3:].mean(axis=1)
|
41 |
df = df.round(3)
|
42 |
|
43 |
# sort by ndcg_at_5
|