Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -126,6 +126,8 @@ with tab2:
|
|
126 |
|
127 |
with col2:
|
128 |
final_line_combos = line_frame[line_frame['Site'] == str(site_var2)]
|
|
|
|
|
129 |
st.dataframe(final_line_combos.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(precision=2), use_container_width = True)
|
130 |
st.download_button(
|
131 |
label="Export Tables",
|
@@ -146,6 +148,8 @@ with tab3:
|
|
146 |
|
147 |
with col2:
|
148 |
final_pp_combos = pp_frame[pp_frame['Site'] == str(site_var3)]
|
|
|
|
|
149 |
st.dataframe(final_pp_combos.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(precision=2), use_container_width = True)
|
150 |
st.download_button(
|
151 |
label="Export Tables",
|
|
|
126 |
|
127 |
with col2:
|
128 |
final_line_combos = line_frame[line_frame['Site'] == str(site_var2)]
|
129 |
+
final_line_combos = final_line_combos[final_line_combos['Type'] == 'Basic']
|
130 |
+
final_line_combos = final_line_combos.sort_values(by='Median', ascending=False)
|
131 |
st.dataframe(final_line_combos.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(precision=2), use_container_width = True)
|
132 |
st.download_button(
|
133 |
label="Export Tables",
|
|
|
148 |
|
149 |
with col2:
|
150 |
final_pp_combos = pp_frame[pp_frame['Site'] == str(site_var3)]
|
151 |
+
final_pp_combos = final_pp_combos[final_pp_combos['Type'] == 'Basic']
|
152 |
+
final_pp_combos = final_pp_combos.sort_values(by='Median', ascending=False)
|
153 |
st.dataframe(final_pp_combos.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(precision=2), use_container_width = True)
|
154 |
st.download_button(
|
155 |
label="Export Tables",
|