Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ def init_baselines():
|
|
| 32 |
sh = gc.open_by_url(master_hold)
|
| 33 |
worksheet = sh.worksheet('ADPs (model)')
|
| 34 |
adp_hold = pd.DataFrame(worksheet.get_all_records())
|
| 35 |
-
adp_hold = adp_hold[['Player', 'Team', 'Bye', 'Position', 'Position Rank', 'Underdog', 'MFL10', 'RTSPORTS', 'AVG', '
|
| 36 |
adp_table = adp_hold.drop_duplicates(subset='Player')
|
| 37 |
|
| 38 |
worksheet = sh.worksheet('Stacks (model)')
|
|
@@ -77,7 +77,7 @@ with col1:
|
|
| 77 |
stack_size = size_var2
|
| 78 |
|
| 79 |
team_dict = dict(zip(adp_table.Player, adp_table.Team))
|
| 80 |
-
proj_dict = dict(zip(adp_table.Player, adp_table.
|
| 81 |
diff_dict = dict(zip(adp_table.Player, adp_table.Diff))
|
| 82 |
|
| 83 |
with col2:
|
|
|
|
| 32 |
sh = gc.open_by_url(master_hold)
|
| 33 |
worksheet = sh.worksheet('ADPs (model)')
|
| 34 |
adp_hold = pd.DataFrame(worksheet.get_all_records())
|
| 35 |
+
adp_hold = adp_hold[['Player', 'Team', 'Bye', 'Position', 'Position Rank', 'Underdog', 'MFL10', 'RTSPORTS', 'AVG', 'Projection', 'Proj ADP', 'Diff']]
|
| 36 |
adp_table = adp_hold.drop_duplicates(subset='Player')
|
| 37 |
|
| 38 |
worksheet = sh.worksheet('Stacks (model)')
|
|
|
|
| 77 |
stack_size = size_var2
|
| 78 |
|
| 79 |
team_dict = dict(zip(adp_table.Player, adp_table.Team))
|
| 80 |
+
proj_dict = dict(zip(adp_table.Player, adp_table.Projection))
|
| 81 |
diff_dict = dict(zip(adp_table.Player, adp_table.Diff))
|
| 82 |
|
| 83 |
with col2:
|