James McCool
commited on
Commit
·
474ac04
1
Parent(s):
eaaec23
ping
Browse files
app.py
CHANGED
@@ -1177,6 +1177,7 @@ if selected_tab == 'Manage Portfolio':
|
|
1177 |
# st.session_state['highest_owned_pitchers'] = st.session_state['projections_df'][st.session_state['projections_df']['position'].isin(['P', 'SP'])]['player_names'].sort_values(by='ownership', ascending=False).head(3).tolist()
|
1178 |
# st.table(check_frame)
|
1179 |
|
|
|
1180 |
if 'trimming_dict_maxes' not in st.session_state:
|
1181 |
st.session_state['trimming_dict_maxes'] = {
|
1182 |
'Own': st.session_state['working_frame']['Own'].max(),
|
|
|
1177 |
# st.session_state['highest_owned_pitchers'] = st.session_state['projections_df'][st.session_state['projections_df']['position'].isin(['P', 'SP'])]['player_names'].sort_values(by='ownership', ascending=False).head(3).tolist()
|
1178 |
# st.table(check_frame)
|
1179 |
|
1180 |
+
#set some maxes for trimming variables
|
1181 |
if 'trimming_dict_maxes' not in st.session_state:
|
1182 |
st.session_state['trimming_dict_maxes'] = {
|
1183 |
'Own': st.session_state['working_frame']['Own'].max(),
|