Spaces:
Runtime error
Runtime error
Update src/populate.py
Browse files- src/populate.py +1 -1
src/populate.py
CHANGED
@@ -20,7 +20,7 @@ def get_leaderboard_df(results_path: str, requests_path: str, cols: list, benchm
|
|
20 |
|
21 |
# filter out if any of the benchmarks have not been produced
|
22 |
filtered_benchmark_cols = [col for col in benchmark_cols if col in df.columns]
|
23 |
-
df = df[has_no_nan_values(df,
|
24 |
return df
|
25 |
|
26 |
|
|
|
20 |
|
21 |
# filter out if any of the benchmarks have not been produced
|
22 |
filtered_benchmark_cols = [col for col in benchmark_cols if col in df.columns]
|
23 |
+
df = df[has_no_nan_values(df, filtered_benchmark_cols)]
|
24 |
return df
|
25 |
|
26 |
|