jbisal commited on
Commit
8f2cdfb
·
verified ·
1 Parent(s): c87005d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -96,7 +96,7 @@ def get_stats_from_boxScore_data(url: str, stat: str) -> dict:
96
  for teams in box_scores.keys():
97
  for player in box_scores[teams]:
98
  if player[stat_key] is not None:
99
- if player[stat_key].replace('.').isdigit()
100
  stats[player[list(player.keys())[0]]]=pd.to_numeric(player[stat_key], errors='coerce')
101
  return stats
102
  except Exception as e:
 
96
  for teams in box_scores.keys():
97
  for player in box_scores[teams]:
98
  if player[stat_key] is not None:
99
+ if player[stat_key].replace('.').isdigit():
100
  stats[player[list(player.keys())[0]]]=pd.to_numeric(player[stat_key], errors='coerce')
101
  return stats
102
  except Exception as e: