Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
feat: use -1 instead of 0 for presenting missing evals
Browse files- src/read_evals.py +1 -1
src/read_evals.py
CHANGED
@@ -29,7 +29,7 @@ pd.options.mode.copy_on_write = True
|
|
29 |
|
30 |
def calculate_mean(row):
|
31 |
if pd.isna(row).any():
|
32 |
-
return
|
33 |
else:
|
34 |
return row.mean()
|
35 |
|
|
|
29 |
|
30 |
def calculate_mean(row):
|
31 |
if pd.isna(row).any():
|
32 |
+
return -1
|
33 |
else:
|
34 |
return row.mean()
|
35 |
|