nesticot commited on
Commit
8bb8e2c
·
verified ·
1 Parent(s): 8d2a79c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -509,12 +509,12 @@ def server(input, output, session):
509
  baseOnBalls = d[0]['liveData']['boxscore']['teams'][team_side]['players'][player_id]['stats']['pitching']['baseOnBalls']
510
 
511
  df_player = pl.DataFrame({
512
- 'pitches': int(pitches),
513
- 'battersFaced': int(battersFaced),
514
- 'runs': int(runs),
515
- 'earnedRuns': int(earnedRuns),
516
- 'strikeOuts': int(strikeOuts),
517
- 'baseOnBalls': int(baseOnBalls)
518
  })
519
 
520
  return render.DataGrid(
 
509
  baseOnBalls = d[0]['liveData']['boxscore']['teams'][team_side]['players'][player_id]['stats']['pitching']['baseOnBalls']
510
 
511
  df_player = pl.DataFrame({
512
+ 'Pitches': int(pitches),
513
+ 'PA': int(battersFaced),
514
+ 'R': int(runs),
515
+ 'ER': int(earnedRuns),
516
+ 'K': int(strikeOuts),
517
+ 'BB': int(baseOnBalls)
518
  })
519
 
520
  return render.DataGrid(