Spaces:
Sleeping
Sleeping
James McCool
commited on
Commit
·
d617759
1
Parent(s):
f66b32c
fixed a dropdown des
Browse files
app.py
CHANGED
|
@@ -225,7 +225,8 @@ with tab4:
|
|
| 225 |
t_stamp = f"Last Update: " + str(timestamp) + f" CST"
|
| 226 |
market_type = st.selectbox('Select type of prop are you wanting to view', options = prop_table_options, key = 'market_type_key')
|
| 227 |
disp_market = market_props.copy()
|
| 228 |
-
disp_market = disp_market[disp_market['PropType']
|
|
|
|
| 229 |
st.dataframe(disp_market.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(prop_format, precision=2), height = 1000, use_container_width = True)
|
| 230 |
st.download_button(
|
| 231 |
label="Export Market Props",
|
|
|
|
| 225 |
t_stamp = f"Last Update: " + str(timestamp) + f" CST"
|
| 226 |
market_type = st.selectbox('Select type of prop are you wanting to view', options = prop_table_options, key = 'market_type_key')
|
| 227 |
disp_market = market_props.copy()
|
| 228 |
+
disp_market = disp_market[disp_market['PropType'] == market_type]
|
| 229 |
+
|
| 230 |
st.dataframe(disp_market.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(prop_format, precision=2), height = 1000, use_container_width = True)
|
| 231 |
st.download_button(
|
| 232 |
label="Export Market Props",
|