ForzaJuve1 commited on
Commit
70ccc95
1 Parent(s): 9b5a98c

Update Integration.py

Browse files
Files changed (1) hide show
  1. Integration.py +2 -1
Integration.py CHANGED
@@ -556,7 +556,8 @@ class Euro2020Dataset(GeneratorBasedBuilder):
556
  for id, row in enumerate(reader):
557
 
558
  match_event_str = row["MatchEvent"]
559
- match_event = ast.literal_eval(match_event_str)
 
560
 
561
  team_linup_str = row["TeamLineUps"]
562
  team_linup_replaced = team_linup_str.replace(": nan", ": None")
 
556
  for id, row in enumerate(reader):
557
 
558
  match_event_str = row["MatchEvent"]
559
+ match_event_replaced = match_event_str.replace(": nan", ": None")
560
+ match_event = ast.literal_eval(match_event_replaced)
561
 
562
  team_linup_str = row["TeamLineUps"]
563
  team_linup_replaced = team_linup_str.replace(": nan", ": None")