James McCool commited on
Commit
a59d5e4
·
1 Parent(s): db5da3a

extending salary ceiling in player ROO

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -2
src/streamlit_app.py CHANGED
@@ -899,7 +899,7 @@ if selected_tab == 'Player ROO':
899
  elif slate_type_var2 == 'Showdown':
900
  raw_baselines = fd_sd_roo_raw[fd_sd_roo_raw['slate'] == str(slate_var2)]
901
  raw_baselines = raw_baselines.iloc[:,:-2]
902
-
903
  split_var2 = st.radio("Would you like to view the whole slate or just specific games?", ('Full Slate Run', 'Specific Games'), key='split_var2_radio')
904
  if split_var2 == 'Specific Games':
905
  team_var2 = st.multiselect('Which teams would you like to include in the ROO?', options = raw_baselines['Team'].unique(), key='team_var2_multiselect')
@@ -907,7 +907,7 @@ if selected_tab == 'Player ROO':
907
  team_var2 = raw_baselines.Team.values.tolist()
908
  pos_split2 = st.selectbox('What Position table would you like to view?', options = ['Overall', 'QB', 'RB', 'WR', 'TE'], key='pos_split2_selectbox')
909
  pos_combos2 = st.multiselect('If Overall, specific positions?', options = ['QB', 'RB', 'WR', 'TE', 'DST'], default = ['QB', 'RB', 'WR', 'TE', 'DST'], key='pos_combos2_multiselect')
910
- sal_var2 = st.slider("Is there a certain price range you want to view?", 2000, 15000, (2000, 15000), key='sal_var2_slider')
911
 
912
  if pos_split2 == 'Overall':
913
  raw_baselines = raw_baselines[raw_baselines['version'] == 'overall']
 
899
  elif slate_type_var2 == 'Showdown':
900
  raw_baselines = fd_sd_roo_raw[fd_sd_roo_raw['slate'] == str(slate_var2)]
901
  raw_baselines = raw_baselines.iloc[:,:-2]
902
+
903
  split_var2 = st.radio("Would you like to view the whole slate or just specific games?", ('Full Slate Run', 'Specific Games'), key='split_var2_radio')
904
  if split_var2 == 'Specific Games':
905
  team_var2 = st.multiselect('Which teams would you like to include in the ROO?', options = raw_baselines['Team'].unique(), key='team_var2_multiselect')
 
907
  team_var2 = raw_baselines.Team.values.tolist()
908
  pos_split2 = st.selectbox('What Position table would you like to view?', options = ['Overall', 'QB', 'RB', 'WR', 'TE'], key='pos_split2_selectbox')
909
  pos_combos2 = st.multiselect('If Overall, specific positions?', options = ['QB', 'RB', 'WR', 'TE', 'DST'], default = ['QB', 'RB', 'WR', 'TE', 'DST'], key='pos_combos2_multiselect')
910
+ sal_var2 = st.slider("Is there a certain price range you want to view?", 2000, 15000, (2000, 20000), key='sal_var2_slider')
911
 
912
  if pos_split2 == 'Overall':
913
  raw_baselines = raw_baselines[raw_baselines['version'] == 'overall']