ForzaJuve1 commited on
Commit
2d9a3ba
1 Parent(s): d273560

Update Integration.py

Browse files
Files changed (1) hide show
  1. Integration.py +1 -1
Integration.py CHANGED
@@ -572,7 +572,7 @@ class Euro2020Dataset(GeneratorBasedBuilder):
572
  player_stats_str = row["PlayerStats"]
573
  player_stats_replaced = player_stats_str.replace("'", '"')
574
  #player_stats_replaced = player_stats_replaced.replace(": nan", ": null")
575
- player_stats = json.loads(player_stats_replaced)
576
 
577
  #pre_match_str = row["PlayerPreMatchInfo"]
578
  #pre_match_replaced = pre_match_str.replace("'", '"')
 
572
  player_stats_str = row["PlayerStats"]
573
  player_stats_replaced = player_stats_str.replace("'", '"')
574
  #player_stats_replaced = player_stats_replaced.replace(": nan", ": null")
575
+ player_stats = eval(player_stats_replaced)
576
 
577
  #pre_match_str = row["PlayerPreMatchInfo"]
578
  #pre_match_replaced = pre_match_str.replace("'", '"')