Spaces:
Running
Running
Zekun Wu
commited on
Commit
·
6827643
1
Parent(s):
0ba415f
update
Browse files- util/injection.py +1 -1
util/injection.py
CHANGED
@@ -18,7 +18,7 @@ def create_summary(row, group_name, label, occupation):
|
|
18 |
summary.append(info)
|
19 |
|
20 |
for column, value in row.items():
|
21 |
-
if
|
22 |
readable_name = ' '.join(word.capitalize() for word in column.split('_'))
|
23 |
summary.append(f"{readable_name}: {value};")
|
24 |
|
|
|
18 |
summary.append(info)
|
19 |
|
20 |
for column, value in row.items():
|
21 |
+
if group_name.lower() not in column:
|
22 |
readable_name = ' '.join(word.capitalize() for word in column.split('_'))
|
23 |
summary.append(f"{readable_name}: {value};")
|
24 |
|