Spaces:
Running
Running
James McCool
commited on
Commit
·
553595b
1
Parent(s):
350005a
Update Streamlit app to apply styling for dataframes using the style method, enhancing visual presentation of displayed data. This change improves the clarity and aesthetics of the data output.
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
@@ -36,4 +36,4 @@ else:
|
|
36 |
st.session_state['disp_frame'] = hr_frame.copy()
|
37 |
|
38 |
if 'disp_frame' in st.session_state:
|
39 |
-
st.dataframe(st.session_state['disp_frame'].background_gradient(axis=0).background_gradient(cmap = 'RdYlGn').format(precision=2), height=1200, use_container_width = True, hide_index = True)
|
|
|
36 |
st.session_state['disp_frame'] = hr_frame.copy()
|
37 |
|
38 |
if 'disp_frame' in st.session_state:
|
39 |
+
st.dataframe(st.session_state['disp_frame'].style.background_gradient(axis=0).background_gradient(cmap = 'RdYlGn').format(precision=2), height=1200, use_container_width = True, hide_index = True)
|