James McCool
commited on
Commit
·
9ddebcf
1
Parent(s):
6562841
wait maybe this will work
Browse files
app.py
CHANGED
|
@@ -3451,6 +3451,10 @@ if selected_tab == 'Manage Portfolio':
|
|
| 3451 |
if 'origin_player_exposures' not in st.session_state:
|
| 3452 |
st.session_state['origin_player_exposures'] = player_summary.copy()
|
| 3453 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3454 |
|
| 3455 |
st.subheader("Player Summary")
|
| 3456 |
st.dataframe(
|
|
|
|
| 3451 |
if 'origin_player_exposures' not in st.session_state:
|
| 3452 |
st.session_state['origin_player_exposures'] = player_summary.copy()
|
| 3453 |
|
| 3454 |
+
if position_parse != 'All':
|
| 3455 |
+
st.session_state['player_summary'] = st.session_state['player_summary'][st.session_state['player_summary']['Position'].str.contains(position_parse)]
|
| 3456 |
+
else:
|
| 3457 |
+
st.session_state['player_summary'] = st.session_state['player_summary']
|
| 3458 |
|
| 3459 |
st.subheader("Player Summary")
|
| 3460 |
st.dataframe(
|