James McCool commited on
Commit
55e2fd8
·
1 Parent(s): b5d9378

Standardize collection name casing in app.py for Draftkings and Fanduel seed frame initialization functions, ensuring uniformity and consistency across the codebase.

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -86,7 +86,7 @@ def init_DK_secondary_seed_frames(sharp_split):
86
  cursor = collection.find({"Site": "Draftkings", "Slate": "secondary_slate"})
87
  valid_players = set(pd.DataFrame(list(cursor))['Player'].unique())
88
 
89
- collection = db["DK_MLB_secondary_seed_frame"]
90
  cursor = collection.find().limit(sharp_split)
91
 
92
  raw_display = pd.DataFrame(list(cursor))
@@ -111,7 +111,7 @@ def init_DK_auxiliary_seed_frames(sharp_split):
111
  cursor = collection.find({"Site": "Draftkings", "Slate": "turbo_slate"})
112
  valid_players = set(pd.DataFrame(list(cursor))['Player'].unique())
113
 
114
- collection = db["DK_MLB_turbo_seed_frame"]
115
  cursor = collection.find().limit(sharp_split)
116
 
117
  raw_display = pd.DataFrame(list(cursor))
@@ -161,7 +161,7 @@ def init_FD_secondary_seed_frames(sharp_split):
161
  cursor = collection.find({"Site": "Fanduel", "Slate": "secondary_slate"})
162
  valid_players = set(pd.DataFrame(list(cursor))['Player'].unique())
163
 
164
- collection = db["FD_MLB_secondary_seed_frame"]
165
  cursor = collection.find().limit(sharp_split)
166
 
167
  raw_display = pd.DataFrame(list(cursor))
@@ -186,7 +186,7 @@ def init_FD_auxiliary_seed_frames(sharp_split):
186
  cursor = collection.find({"Site": "Fanduel", "Slate": "turbo_slate"})
187
  valid_players = set(pd.DataFrame(list(cursor))['Player'].unique())
188
 
189
- collection = db["FD_MLB_turbo_seed_frame"]
190
  cursor = collection.find().limit(sharp_split)
191
 
192
  raw_display = pd.DataFrame(list(cursor))
 
86
  cursor = collection.find({"Site": "Draftkings", "Slate": "secondary_slate"})
87
  valid_players = set(pd.DataFrame(list(cursor))['Player'].unique())
88
 
89
+ collection = db["DK_MLB_Secondary_seed_frame"]
90
  cursor = collection.find().limit(sharp_split)
91
 
92
  raw_display = pd.DataFrame(list(cursor))
 
111
  cursor = collection.find({"Site": "Draftkings", "Slate": "turbo_slate"})
112
  valid_players = set(pd.DataFrame(list(cursor))['Player'].unique())
113
 
114
+ collection = db["DK_MLB_Turbo_seed_frame"]
115
  cursor = collection.find().limit(sharp_split)
116
 
117
  raw_display = pd.DataFrame(list(cursor))
 
161
  cursor = collection.find({"Site": "Fanduel", "Slate": "secondary_slate"})
162
  valid_players = set(pd.DataFrame(list(cursor))['Player'].unique())
163
 
164
+ collection = db["FD_MLB_Secondary_seed_frame"]
165
  cursor = collection.find().limit(sharp_split)
166
 
167
  raw_display = pd.DataFrame(list(cursor))
 
186
  cursor = collection.find({"Site": "Fanduel", "Slate": "turbo_slate"})
187
  valid_players = set(pd.DataFrame(list(cursor))['Player'].unique())
188
 
189
+ collection = db["FD_MLB_Turbo_seed_frame"]
190
  cursor = collection.find().limit(sharp_split)
191
 
192
  raw_display = pd.DataFrame(list(cursor))