Spaces:
Running
Running
James McCool
commited on
Commit
·
5731377
1
Parent(s):
4bd52e5
Remove unnecessary percentage conversions for ML_Value and Spread_Value in app.py to streamline data processing for betting models.
Browse files
app.py
CHANGED
@@ -103,8 +103,6 @@ def init_baselines():
|
|
103 |
team_frame = raw_display.drop_duplicates(subset='Names')
|
104 |
team_frame['Win Percentage'] = team_frame['Win Percentage'].str.replace('%', '').astype('float')/100
|
105 |
team_frame['Cover Spread Percentage'] = team_frame['Cover Spread Percentage'].str.replace('%', '').astype('float')/100
|
106 |
-
team_frame['ML_Value'] = team_frame['ML_Value'].str.replace('%', '').astype('float')/100
|
107 |
-
team_frame['Spread_Value'] = team_frame['Spread_Value'].str.replace('%', '').astype('float')/100
|
108 |
|
109 |
sh = gc.open_by_url(master_hold)
|
110 |
worksheet = sh.worksheet('prop_frame')
|
|
|
103 |
team_frame = raw_display.drop_duplicates(subset='Names')
|
104 |
team_frame['Win Percentage'] = team_frame['Win Percentage'].str.replace('%', '').astype('float')/100
|
105 |
team_frame['Cover Spread Percentage'] = team_frame['Cover Spread Percentage'].str.replace('%', '').astype('float')/100
|
|
|
|
|
106 |
|
107 |
sh = gc.open_by_url(master_hold)
|
108 |
worksheet = sh.worksheet('prop_frame')
|