ForzaJuve1
commited on
Commit
•
2b1490c
1
Parent(s):
de49b5a
Update Integration.py
Browse files- Integration.py +1 -1
Integration.py
CHANGED
@@ -558,7 +558,7 @@ class Euro2020Dataset(GeneratorBasedBuilder):
|
|
558 |
match_event_str = row["MatchEvent"]
|
559 |
#match_event_replaced = match_event_str.replace("'", '"')
|
560 |
match_event_replaced = match_event_str.replace("nan", "None")
|
561 |
-
match_event =
|
562 |
|
563 |
team_linup_str = row["TeamLineUps"]
|
564 |
team_linup_replaced = team_linup_str.replace(": nan", ": None")
|
|
|
558 |
match_event_str = row["MatchEvent"]
|
559 |
#match_event_replaced = match_event_str.replace("'", '"')
|
560 |
match_event_replaced = match_event_str.replace("nan", "None")
|
561 |
+
match_event = ast.literal_eval(match_event_replaced)
|
562 |
|
563 |
team_linup_str = row["TeamLineUps"]
|
564 |
team_linup_replaced = team_linup_str.replace(": nan", ": None")
|