Spaces:
Sleeping
Sleeping
James McCool
commited on
Commit
·
19066b9
1
Parent(s):
9a39b13
fixed prop options for sim var
Browse files
app.py
CHANGED
@@ -177,9 +177,9 @@ with tab3:
|
|
177 |
key='prop_source',
|
178 |
)
|
179 |
if game_select_var == 'Aggregate':
|
180 |
-
prop_type_var = st.selectbox('Select prop category', options = ['All Props', '
|
181 |
elif game_select_var == 'Pick6':
|
182 |
-
prop_type_var = st.selectbox('Select prop category', options = ['All Props', 'Points', '
|
183 |
|
184 |
if st.button('Simulate Prop Category'):
|
185 |
with col2:
|
@@ -188,10 +188,10 @@ with tab3:
|
|
188 |
|
189 |
if game_select_var == 'Aggregate':
|
190 |
prop_df_raw = prop_frame[['Player', 'book', 'over_prop', 'over_line', 'under_line', 'prop_type']]
|
191 |
-
sim_vars = ['
|
192 |
elif game_select_var == 'Pick6':
|
193 |
prop_df_raw = pick_frame[['Player', 'book', 'over_prop', 'over_line', 'under_line', 'prop_type']]
|
194 |
-
sim_vars = ['Points', '
|
195 |
|
196 |
player_df = prop_display.copy()
|
197 |
|
|
|
177 |
key='prop_source',
|
178 |
)
|
179 |
if game_select_var == 'Aggregate':
|
180 |
+
prop_type_var = st.selectbox('Select prop category', options = ['All Props', 'NHL_GAME_PLAYER_POINTS', 'NHL_GAME_PLAYER_SHOTS_ON_GOAL', 'NHL_GAME_PLAYER_ASSISTS', 'NHL_GAME_PLAYER_BLOCKED_SHOTS'])
|
181 |
elif game_select_var == 'Pick6':
|
182 |
+
prop_type_var = st.selectbox('Select prop category', options = ['All Props', 'Points', 'Shots on Goal', 'Assists', 'Blocks'])
|
183 |
|
184 |
if st.button('Simulate Prop Category'):
|
185 |
with col2:
|
|
|
188 |
|
189 |
if game_select_var == 'Aggregate':
|
190 |
prop_df_raw = prop_frame[['Player', 'book', 'over_prop', 'over_line', 'under_line', 'prop_type']]
|
191 |
+
sim_vars = ['NHL_GAME_PLAYER_POINTS', 'NHL_GAME_PLAYER_SHOTS_ON_GOAL', 'NHL_GAME_PLAYER_ASSISTS', 'NHL_GAME_PLAYER_BLOCKED_SHOTS']
|
192 |
elif game_select_var == 'Pick6':
|
193 |
prop_df_raw = pick_frame[['Player', 'book', 'over_prop', 'over_line', 'under_line', 'prop_type']]
|
194 |
+
sim_vars = ['Points', 'Shots on Goal', 'Assists', 'Blocks']
|
195 |
|
196 |
player_df = prop_display.copy()
|
197 |
|