Spaces:
Runtime error
Runtime error
Commit ·
45acf22
1
Parent(s): 68cce08
Update app.py
Browse files155 unmodified lines156157158159160161162163164165166167155 unmodified linesfig = px.treemap(df, path=categorical_cols)st.plotly_chart(fig)#if len(numerical_cols) >= 2:# fig = px.scatter_matrix(df, dimensions=numerical_cols)# st.plotly_chart(fig)#elif len(categorical_cols) >= 2:# fig = px.treemap(df, path=categorical_cols)# st.plotly_chart(fig)#else:# fig = px.sunburst(df, path=categorical_cols + numerical_cols)# st.plotly_chart(fig)155 unmodified lines156157158159160161162163164165166167155 unmodified linesfig = px.treemap(df, path=categorical_cols)st.plotly_chart(fig)if len(numerical_cols) >= 2:fig = px.scatter_matrix(df, dimensions=numerical_cols)st.plotly_chart(fig)elif len(categorical_cols) >= 2:fig = px.treemap(df, path=categorical_cols)st.plotly_chart(fig)else:fig = px.sunburst(df, path=categorical_cols + numerical_cols)st.plotly_chart(fig)
app.py+9-9