Daniel Cerda Escobar
commited on
Commit
·
b74b370
1
Parent(s):
ca0a72f
Show data
Browse files
app.py
CHANGED
@@ -173,22 +173,16 @@ with col2:
|
|
173 |
with tab2:
|
174 |
st.image(st.session_state["output_2"])
|
175 |
with tab3:
|
176 |
-
st.
|
177 |
-
|
178 |
-
|
179 |
-
'
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
'category' : 'Category',
|
188 |
-
'count' : 'Number of Elements',
|
189 |
-
'percentage' : '%',
|
190 |
-
},
|
191 |
-
hide_index = True,
|
192 |
-
)
|
193 |
|
194 |
|
|
|
173 |
with tab2:
|
174 |
st.image(st.session_state["output_2"])
|
175 |
with tab3:
|
176 |
+
col1,col2,col3 = st.columns([1,2,1])
|
177 |
+
with col2:
|
178 |
+
st.dataframe(
|
179 |
+
output_df.style.hide_columns('percentage'),
|
180 |
+
column_config = {
|
181 |
+
'category' : 'Category',
|
182 |
+
'count' : 'Number of Elements',
|
183 |
+
},
|
184 |
+
use_container_width = True,
|
185 |
+
hide_index = True,
|
186 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
187 |
|
188 |
|