James McCool
commited on
Commit
·
23ffbed
1
Parent(s):
85260c1
Change dataframe display from table to interactive dataframe in app.py for enhanced user experience and improved data visualization. This update maintains the existing styled formatting and background gradients.
Browse files
app.py
CHANGED
@@ -1207,7 +1207,7 @@ with tab2:
|
|
1207 |
# Get the subset of data for the current page
|
1208 |
current_page_data = display_frame.iloc[start_idx:end_idx]
|
1209 |
# Display the paginated dataframe first
|
1210 |
-
st.
|
1211 |
current_page_data.style
|
1212 |
.background_gradient(axis=0)
|
1213 |
.background_gradient(cmap='RdYlGn')
|
|
|
1207 |
# Get the subset of data for the current page
|
1208 |
current_page_data = display_frame.iloc[start_idx:end_idx]
|
1209 |
# Display the paginated dataframe first
|
1210 |
+
st.dataframe(
|
1211 |
current_page_data.style
|
1212 |
.background_gradient(axis=0)
|
1213 |
.background_gradient(cmap='RdYlGn')
|