Spaces:
Sleeping
Sleeping
Zekun Wu
commited on
Commit
•
34162d5
1
Parent(s):
89aa4a2
update
Browse files- util/injection.py +1 -1
util/injection.py
CHANGED
@@ -133,7 +133,7 @@ def process_scores_multiple(df, num_run, parameters, privilege_label, protect_la
|
|
133 |
|
134 |
# Ensure the scores are lists and check before assignment
|
135 |
series_data = [lst if isinstance(lst, list) else [lst] for lst in scores[category]]
|
136 |
-
df[f'{category}_Scores'] =
|
137 |
|
138 |
# Debug: Check the Series after assignment
|
139 |
print(f"Series for {category}_Scores:\n{df[f'{category}_Scores']}")
|
|
|
133 |
|
134 |
# Ensure the scores are lists and check before assignment
|
135 |
series_data = [lst if isinstance(lst, list) else [lst] for lst in scores[category]]
|
136 |
+
df[f'{category}_Scores'] = series_data
|
137 |
|
138 |
# Debug: Check the Series after assignment
|
139 |
print(f"Series for {category}_Scores:\n{df[f'{category}_Scores']}")
|