Spaces:
Running
Running
James McCool
commited on
Commit
·
64f87a1
1
Parent(s):
19b6535
Enhance app.py by adding a display of player names in the FD seed frame initialization. This update improves data visibility by presenting the names in a structured format using st.table, facilitating better understanding during contest simulations.
Browse files
app.py
CHANGED
@@ -51,6 +51,8 @@ def init_FD_seed_frames(sharp_split):
|
|
51 |
collection = db['FD_NFL_name_map']
|
52 |
cursor = collection.find({}, {'_id': 0}) # Exclude _id field
|
53 |
names_dict = dict(cursor)
|
|
|
|
|
54 |
|
55 |
collection = db["FD_NFL_seed_frame"]
|
56 |
cursor = collection.find().limit(sharp_split)
|
|
|
51 |
collection = db['FD_NFL_name_map']
|
52 |
cursor = collection.find({}, {'_id': 0}) # Exclude _id field
|
53 |
names_dict = dict(cursor)
|
54 |
+
|
55 |
+
st.table(names_dict)
|
56 |
|
57 |
collection = db["FD_NFL_seed_frame"]
|
58 |
cursor = collection.find().limit(sharp_split)
|