James McCool
commited on
Commit
·
42664e8
1
Parent(s):
57d3540
Update player position selection in Streamlit app: added 'K' to the multiselect options for overall position filtering.
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -906,7 +906,7 @@ if selected_tab == 'Player ROO':
|
|
| 906 |
elif split_var2 == 'Full Slate Run':
|
| 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?", 0, 20000, (0, 20000), key='sal_var2_slider')
|
| 911 |
|
| 912 |
if pos_split2 == 'Overall':
|
|
|
|
| 906 |
elif split_var2 == 'Full Slate Run':
|
| 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', 'K'], default = ['QB', 'RB', 'WR', 'TE', 'DST', 'K'], key='pos_combos2_multiselect')
|
| 910 |
sal_var2 = st.slider("Is there a certain price range you want to view?", 0, 20000, (0, 20000), key='sal_var2_slider')
|
| 911 |
|
| 912 |
if pos_split2 == 'Overall':
|