Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,13 +50,13 @@ def init_baselines():
|
|
| 50 |
cursor = collection.find()
|
| 51 |
|
| 52 |
raw_display = pd.DataFrame(list(cursor))
|
| 53 |
-
DK_seed = raw_display[['SP1', 'SP2', 'C', '1B', '2B', '3B', 'SS', 'OF1', 'OF2', 'OF3', 'Team', 'Team_count', 'salary', 'proj']]
|
| 54 |
|
| 55 |
collection = db["FD_MLB_seed_frame"]
|
| 56 |
cursor = collection.find()
|
| 57 |
|
| 58 |
raw_display = pd.DataFrame(list(cursor))
|
| 59 |
-
FD_seed = raw_display[['P', 'C_1B', '2B', '3B', 'SS', 'OF1', 'OF2', 'OF3', 'UTIL', 'Team', 'Team_count', 'salary', 'proj']]
|
| 60 |
|
| 61 |
worksheet = sh.worksheet('DK_Projections')
|
| 62 |
load_display = pd.DataFrame(worksheet.get_all_records())
|
|
|
|
| 50 |
cursor = collection.find()
|
| 51 |
|
| 52 |
raw_display = pd.DataFrame(list(cursor))
|
| 53 |
+
DK_seed = raw_display[['SP1', 'SP2', 'C', '1B', '2B', '3B', 'SS', 'OF1', 'OF2', 'OF3', 'Team', 'Team_count', 'Secondary', 'Secondary_count', 'salary', 'proj']]
|
| 54 |
|
| 55 |
collection = db["FD_MLB_seed_frame"]
|
| 56 |
cursor = collection.find()
|
| 57 |
|
| 58 |
raw_display = pd.DataFrame(list(cursor))
|
| 59 |
+
FD_seed = raw_display[['P', 'C_1B', '2B', '3B', 'SS', 'OF1', 'OF2', 'OF3', 'UTIL', 'Team', 'Team_count', 'Secondary', 'Secondary_count', 'salary', 'proj']]
|
| 60 |
|
| 61 |
worksheet = sh.worksheet('DK_Projections')
|
| 62 |
load_display = pd.DataFrame(worksheet.get_all_records())
|