nlpblogs commited on
Commit
b080639
·
verified ·
1 Parent(s): 17a3dae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -99,7 +99,7 @@ if upload_file is not None:
99
  df.columns = new_columns
100
 
101
  st.dataframe(df, key="csv_dataframe")
102
- fig = px.treemap(df, path=[px.Constant("all"), 'df.columns', 'df.columns'],
103
  color='column_2')
104
  fig.update_layout(margin = dict(t=50, l=25, r=25, b=25))
105
  st.subheader("Tree map", divider = "red")
 
99
  df.columns = new_columns
100
 
101
  st.dataframe(df, key="csv_dataframe")
102
+ fig = px.treemap(df, path=[px.Constant("all"), 'column_1', 'column_3'],
103
  color='column_2')
104
  fig.update_layout(margin = dict(t=50, l=25, r=25, b=25))
105
  st.subheader("Tree map", divider = "red")