Spaces:
Runtime error
Runtime error
Commit
·
f9309dc
1
Parent(s):
45acf22
Update app.py
Browse files
app.py
CHANGED
|
@@ -153,8 +153,8 @@ if uploaded_file is not None:
|
|
| 153 |
numerical_cols = df.select_dtypes(include=["float", "int"]).columns
|
| 154 |
categorical_cols = df.select_dtypes(include=["object"]).columns
|
| 155 |
|
| 156 |
-
fig = px.treemap(df, path=categorical_cols)
|
| 157 |
-
st.plotly_chart(fig)
|
| 158 |
|
| 159 |
if len(numerical_cols) >= 2:
|
| 160 |
fig = px.scatter_matrix(df, dimensions=numerical_cols)
|
|
|
|
| 153 |
numerical_cols = df.select_dtypes(include=["float", "int"]).columns
|
| 154 |
categorical_cols = df.select_dtypes(include=["object"]).columns
|
| 155 |
|
| 156 |
+
# fig = px.treemap(df, path=categorical_cols)
|
| 157 |
+
# st.plotly_chart(fig)
|
| 158 |
|
| 159 |
if len(numerical_cols) >= 2:
|
| 160 |
fig = px.scatter_matrix(df, dimensions=numerical_cols)
|