Spaces:
Running
Running
James McCool
commited on
Commit
·
802a7a0
1
Parent(s):
312b056
Adjusted available books in prop sim
Browse files
app.py
CHANGED
@@ -204,9 +204,9 @@ with tab3:
|
|
204 |
team_var5 = player_stats.Team.values.tolist()
|
205 |
book_split5 = st.radio("Would you like to view all books or specific ones?", ('All', 'Specific Books'), key='book_split5')
|
206 |
if book_split5 == 'Specific Books':
|
207 |
-
book_var5 = st.multiselect('Which books would you like to include in the tables?', options =
|
208 |
elif book_split5 == 'All':
|
209 |
-
book_var5 =
|
210 |
prop_type_var2 = st.selectbox('Select type of prop are you wanting to view', options = prop_table_options)
|
211 |
prop_frame_disp = prop_frame[prop_frame['Team'].isin(team_var5)]
|
212 |
prop_frame_disp = prop_frame_disp[prop_frame_disp['book'].isin(book_var5)]
|
|
|
204 |
team_var5 = player_stats.Team.values.tolist()
|
205 |
book_split5 = st.radio("Would you like to view all books or specific ones?", ('All', 'Specific Books'), key='book_split5')
|
206 |
if book_split5 == 'Specific Books':
|
207 |
+
book_var5 = st.multiselect('Which books would you like to include in the tables?', options = ['BET_365', 'DRAFTKINGS', 'CONSENSUS', 'FANDUEL', 'MGM', 'UNIBET', 'WILLIAM_HILL'], key='book_var5')
|
208 |
elif book_split5 == 'All':
|
209 |
+
book_var5 = ['BET_365', 'DRAFTKINGS', 'CONSENSUS', 'FANDUEL', 'MGM', 'UNIBET', 'WILLIAM_HILL']
|
210 |
prop_type_var2 = st.selectbox('Select type of prop are you wanting to view', options = prop_table_options)
|
211 |
prop_frame_disp = prop_frame[prop_frame['Team'].isin(team_var5)]
|
212 |
prop_frame_disp = prop_frame_disp[prop_frame_disp['book'].isin(book_var5)]
|