James McCool commited on
Commit
1b5d8ec
·
1 Parent(s): 07be503

Update database collection references from NBA to NFL for DraftKings and FanDuel lineups

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -113,7 +113,7 @@ def player_stat_table():
113
  @st.cache_data(ttl = 60)
114
  def init_DK_lineups():
115
 
116
- collection = db["DK_NBA_seed_frame"]
117
  cursor = collection.find().limit(10000)
118
 
119
  raw_display = pd.DataFrame(list(cursor))
@@ -125,7 +125,7 @@ def init_DK_lineups():
125
  @st.cache_data(ttl = 60)
126
  def init_FD_lineups():
127
 
128
- collection = db["FD_NBA_seed_frame"]
129
  cursor = collection.find().limit(10000)
130
 
131
  raw_display = pd.DataFrame(list(cursor))
 
113
  @st.cache_data(ttl = 60)
114
  def init_DK_lineups():
115
 
116
+ collection = db["DK_NFL_seed_frame"]
117
  cursor = collection.find().limit(10000)
118
 
119
  raw_display = pd.DataFrame(list(cursor))
 
125
  @st.cache_data(ttl = 60)
126
  def init_FD_lineups():
127
 
128
+ collection = db["FD_NFL_seed_frame"]
129
  cursor = collection.find().limit(10000)
130
 
131
  raw_display = pd.DataFrame(list(cursor))