James McCool
commited on
Commit
·
73d06c0
1
Parent(s):
6a8dfe1
Update team filtering to source unique team values from the portfolio increment projections, improving accuracy in portfolio management. Adjusted input prompts for enhanced clarity in user selections.
Browse files
app.py
CHANGED
|
@@ -2143,7 +2143,7 @@ if selected_tab == 'Manage Portfolio':
|
|
| 2143 |
position_low_threshold = st.number_input("if filtering on Projection/Ownership/Salary, Low Threshold", value=0.0, min_value=0.0, step=1.0)
|
| 2144 |
position_high_threshold = st.number_input("if filtering on Projection/Ownership/Salary, High Threshold", value=20000.0, min_value=0.0, step=1.0)
|
| 2145 |
filter_keys_pos = st.multiselect("if filtering on Position, Position(s) to keep", options=[col for col in st.session_state['working_frame'].columns if col not in excluded_cols], default=[])
|
| 2146 |
-
filter_keys_team = st.multiselect("if filtering on Team, Team(s) to keep", options=st.session_state['
|
| 2147 |
submitted_col, export_col = st.columns(2)
|
| 2148 |
with submitted_col:
|
| 2149 |
reg_submitted = st.form_submit_button("Portfolio")
|
|
|
|
| 2143 |
position_low_threshold = st.number_input("if filtering on Projection/Ownership/Salary, Low Threshold", value=0.0, min_value=0.0, step=1.0)
|
| 2144 |
position_high_threshold = st.number_input("if filtering on Projection/Ownership/Salary, High Threshold", value=20000.0, min_value=0.0, step=1.0)
|
| 2145 |
filter_keys_pos = st.multiselect("if filtering on Position, Position(s) to keep", options=[col for col in st.session_state['working_frame'].columns if col not in excluded_cols], default=[])
|
| 2146 |
+
filter_keys_team = st.multiselect("if filtering on Team, Team(s) to keep", options=st.session_state['portfolio_inc_proj']['team'].unique(), default=[])
|
| 2147 |
submitted_col, export_col = st.columns(2)
|
| 2148 |
with submitted_col:
|
| 2149 |
reg_submitted = st.form_submit_button("Portfolio")
|