Multichem commited on
Commit
588d083
·
1 Parent(s): f81438a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -60,6 +60,8 @@ def init_baselines():
60
  gamelog_table['reboundChancesTotal'] = gamelog_table['reboundChancesTotal'].astype(int)
61
  gamelog_table['passes'] = gamelog_table['passes'].astype(int)
62
  gamelog_table['touches'] = gamelog_table['touches'].astype(int)
 
 
63
  gamelog_table['rebound%'] = gamelog_table['REB'] / gamelog_table['reboundChancesTotal']
64
  gamelog_table['assists_per_pass'] = gamelog_table['assists'] / gamelog_table['passes']
65
  gamelog_table['Fantasy_per_touch'] = gamelog_table['Fantasy'] / gamelog_table['touches']
 
60
  gamelog_table['reboundChancesTotal'] = gamelog_table['reboundChancesTotal'].astype(int)
61
  gamelog_table['passes'] = gamelog_table['passes'].astype(int)
62
  gamelog_table['touches'] = gamelog_table['touches'].astype(int)
63
+ gamelog_table['Fantasy'] = gamelog_table['Fantasy'].astype(float)
64
+ gamelog_table['FD_Fantasy'] = gamelog_table['FD_Fantasy'].astype(float)
65
  gamelog_table['rebound%'] = gamelog_table['REB'] / gamelog_table['reboundChancesTotal']
66
  gamelog_table['assists_per_pass'] = gamelog_table['assists'] / gamelog_table['passes']
67
  gamelog_table['Fantasy_per_touch'] = gamelog_table['Fantasy'] / gamelog_table['touches']