James McCool
commited on
Commit
·
bb24797
1
Parent(s):
bbb7092
Add trimming dictionary max values in app.py: define maximum thresholds for ownership types to enhance filtering options and maintain consistency in portfolio management.
Browse files
app.py
CHANGED
@@ -883,6 +883,13 @@ with tab2:
|
|
883 |
)
|
884 |
col1, col2 = st.columns([2, 8])
|
885 |
with col1:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
886 |
with st.expander('Macro Filter Options'):
|
887 |
with st.form(key='macro_filter_form'):
|
888 |
max_dupes = st.number_input("Max acceptable dupes?", value=1000, min_value=1, step=1)
|
|
|
883 |
)
|
884 |
col1, col2 = st.columns([2, 8])
|
885 |
with col1:
|
886 |
+
trimming_dict_maxes = {
|
887 |
+
'Own': 1000,
|
888 |
+
'Geomean': 100,
|
889 |
+
'Weighted Own': 100,
|
890 |
+
'median': 100,
|
891 |
+
'Finish_percentile': 100
|
892 |
+
}
|
893 |
with st.expander('Macro Filter Options'):
|
894 |
with st.form(key='macro_filter_form'):
|
895 |
max_dupes = st.number_input("Max acceptable dupes?", value=1000, min_value=1, step=1)
|