ForzaJuve1 commited on
Commit
10727a9
1 Parent(s): 16a4ded

Update Integration.py

Browse files
Files changed (1) hide show
  1. Integration.py +6 -6
Integration.py CHANGED
@@ -582,11 +582,11 @@ class Euro2020Dataset(GeneratorBasedBuilder):
582
  except ValueError:
583
  team_stats = {}
584
 
585
- player_stats_str = row["PlayerStats"]
586
- try:
587
- player_stats = ast.literal_eval(player_stats_str)
588
- except ValueError:
589
- player_stats = {}
590
 
591
  pre_match_info_str = row["PlayerPreMatchInfo"]
592
  try:
@@ -624,7 +624,7 @@ class Euro2020Dataset(GeneratorBasedBuilder):
624
  "MatchEvent": match_event_processed,
625
  "TeamLineUps": team_lineup,
626
  "TeamStats": team_stats,
627
- "PlayerStats": player_stats,
628
  "PlayerPreMatchInfo": pre_match_info,
629
  }
630
 
 
582
  except ValueError:
583
  team_stats = {}
584
 
585
+ #player_stats_str = row["PlayerStats"]
586
+ #try:
587
+ #player_stats = ast.literal_eval(player_stats_str)
588
+ #except ValueError:
589
+ #player_stats = {}
590
 
591
  pre_match_info_str = row["PlayerPreMatchInfo"]
592
  try:
 
624
  "MatchEvent": match_event_processed,
625
  "TeamLineUps": team_lineup,
626
  "TeamStats": team_stats,
627
+ #"PlayerStats": player_stats,
628
  "PlayerPreMatchInfo": pre_match_info,
629
  }
630