James McCool commited on
Commit
19066b9
·
1 Parent(s): 9a39b13

fixed prop options for sim var

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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', 'NBA_GAME_PLAYER_POINTS', 'NBA_GAME_PLAYER_REBOUNDS', 'NBA_GAME_PLAYER_ASSISTS', 'NBA_GAME_PLAYER_POINTS_REBOUNDS_ASSISTS', 'NBA_GAME_PLAYER_POINTS_REBOUNDS', 'NBA_GAME_PLAYER_POINTS_ASSISTS', 'NBA_GAME_PLAYER_REBOUNDS_ASSISTS'])
181
  elif game_select_var == 'Pick6':
182
- prop_type_var = st.selectbox('Select prop category', options = ['All Props', 'Points', 'Rebounds', 'Assists', 'Points + Assists + Rebounds', 'Points + Assists', 'Points + Rebounds', 'Assists + Rebounds'])
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 = ['NBA_GAME_PLAYER_POINTS', 'NBA_GAME_PLAYER_REBOUNDS', 'NBA_GAME_PLAYER_ASSISTS', 'NBA_GAME_PLAYER_POINTS_REBOUNDS_ASSISTS', 'NBA_GAME_PLAYER_POINTS_REBOUNDS', 'NBA_GAME_PLAYER_POINTS_ASSISTS', 'NBA_GAME_PLAYER_REBOUNDS_ASSISTS']
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', 'Rebounds', 'Assists', 'Points + Assists + Rebounds', 'Points + Assists', 'Points + Rebounds', 'Assists + Rebounds']
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