Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
feat-replace-0-with-dash-0821
#25
by
nan
- opened
- 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 |
|