Update app.py
Browse files
app.py
CHANGED
|
@@ -72,8 +72,7 @@ def init_baselines():
|
|
| 72 |
raw_display['Team Date'] = raw_display['Team'] + " " + raw_display['Date']
|
| 73 |
raw_display = raw_display.drop(columns=['Day of Season', 'Team', 'Opp', 'Date Num', 'DR Team', 'In Minutes File'])
|
| 74 |
game_model = raw_display[raw_display['Injury and Rotation Adjusted Win %'] != ""]
|
| 75 |
-
just_win_probs = game_model[['Team Date', 'Date', 'Time', 'Acro', 'Opponent', 'Injury and Rotation Adjusted Win %', 'Total Proj', 'Projected Points']]
|
| 76 |
-
just_win_probs['Projected Spread'] = (just_win_probs['Total Proj'] / 2) - just_win_probs['Projected Points']
|
| 77 |
|
| 78 |
|
| 79 |
worksheet = sh.worksheet('SeasonExport')
|
|
|
|
| 72 |
raw_display['Team Date'] = raw_display['Team'] + " " + raw_display['Date']
|
| 73 |
raw_display = raw_display.drop(columns=['Day of Season', 'Team', 'Opp', 'Date Num', 'DR Team', 'In Minutes File'])
|
| 74 |
game_model = raw_display[raw_display['Injury and Rotation Adjusted Win %'] != ""]
|
| 75 |
+
just_win_probs = game_model[['Team Date', 'Date', 'Time', 'Acro', 'Opponent', 'Injury and Rotation Adjusted Win %', 'Total Proj', 'Projected Points', 'Expected Margin']]
|
|
|
|
| 76 |
|
| 77 |
|
| 78 |
worksheet = sh.worksheet('SeasonExport')
|