Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
feat-replace-0-with-dash-0821 (#25)
Browse files- feat: use -1 instead of 0 for presenting missing evals (7419959eff5199a0bd9a14e050c5fb71deee3dad)
- 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 |
|