Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,8 +65,9 @@ def init_baselines():
|
|
| 65 |
def init_DK_seed_frame():
|
| 66 |
collection = db["DK_MLB_seed_frame"]
|
| 67 |
cursor = collection.find()
|
| 68 |
-
|
| 69 |
-
|
|
|
|
| 70 |
|
| 71 |
return DK_seed
|
| 72 |
|
|
|
|
| 65 |
def init_DK_seed_frame():
|
| 66 |
collection = db["DK_MLB_seed_frame"]
|
| 67 |
cursor = collection.find()
|
| 68 |
+
|
| 69 |
+
raw_display = pd.DataFrame(list(cursor))
|
| 70 |
+
DK_seed = pd.to_numpy(raw_display)
|
| 71 |
|
| 72 |
return DK_seed
|
| 73 |
|