Spaces:
Running
Running
Commit
·
3d11374
1
Parent(s):
92b387d
added hightlights
Browse files
app.py
CHANGED
@@ -163,8 +163,13 @@ ch_df.drop(columns=['Bias ratio'], axis=1, inplace=True)
|
|
163 |
ch_df.set_index(ch_df.columns[0], inplace=True)
|
164 |
# ch_df = result_processor_obj_dict[t_result_file].get_bias_ratios_df()
|
165 |
|
166 |
-
|
167 |
-
st.
|
|
|
|
|
|
|
|
|
|
|
168 |
|
169 |
means_list = []
|
170 |
stds_list= []
|
|
|
163 |
ch_df.set_index(ch_df.columns[0], inplace=True)
|
164 |
# ch_df = result_processor_obj_dict[t_result_file].get_bias_ratios_df()
|
165 |
|
166 |
+
if len(options) == 1:
|
167 |
+
with st.container():
|
168 |
+
st.dataframe(ch_df) # Todo: MAX MIN HIGHLIGHT
|
169 |
+
else:
|
170 |
+
with st.container():
|
171 |
+
highlighted_df = ch_df.style.highlight_max(color='lightgreen', axis=1).highlight_min(color='lightcoral', axis=1)
|
172 |
+
st.dataframe(highlighted_df)
|
173 |
|
174 |
means_list = []
|
175 |
stds_list= []
|