Multichem commited on
Commit
192c49e
·
verified ·
1 Parent(s): 2f918a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -125,7 +125,7 @@ def init_baselines():
125
  frame_hold = pd.DataFrame(cell_vals, columns=['Team', 'Opp', 'd1', 'd2', 'Game Stack', 'd3', 'd4', 'd5', 'd6', 'd7', 'd8', 'd9', 'd10', 'd11', 'd12', 'd13', 'd14', 'Team Stack',
126
  '15', '16', '17', '18', '19', '20', '21', 'Total Stack Cost', 'Total Own', 'Total Points', 'Points/$'])
127
  frame_hold['Total Own'] = frame_hold['Total Own'].str.replace('%', '').astype(float)/100
128
- frame_hold['Total Stack Cost'] = frame_hold['Total Stack Cost'].str.replace(',', '0').astype(float)/10
129
  stack_frame = frame_hold[['Team', 'Opp', 'Game Stack', 'Team Stack', 'Total Stack Cost', 'Total Own', 'Total Points', 'Points/$']]
130
 
131
  string_cols = ['Team', 'Opp']
 
125
  frame_hold = pd.DataFrame(cell_vals, columns=['Team', 'Opp', 'd1', 'd2', 'Game Stack', 'd3', 'd4', 'd5', 'd6', 'd7', 'd8', 'd9', 'd10', 'd11', 'd12', 'd13', 'd14', 'Team Stack',
126
  '15', '16', '17', '18', '19', '20', '21', 'Total Stack Cost', 'Total Own', 'Total Points', 'Points/$'])
127
  frame_hold['Total Own'] = frame_hold['Total Own'].str.replace('%', '').astype(float)/100
128
+ frame_hold['Total Stack Cost'] = frame_hold['Total Stack Cost'].str.replace(',', '').astype(float)
129
  stack_frame = frame_hold[['Team', 'Opp', 'Game Stack', 'Team Stack', 'Total Stack Cost', 'Total Own', 'Total Points', 'Points/$']]
130
 
131
  string_cols = ['Team', 'Opp']