Spaces:
Runtime error
Runtime error
Commit
·
ca6e0f3
1
Parent(s):
4ac110a
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,8 +15,6 @@ if uploaded_file is not None:
|
|
| 15 |
df = pd.read_csv(uploaded_file)
|
| 16 |
st.dataframe(df.head())
|
| 17 |
|
| 18 |
-
print(df.columns)
|
| 19 |
-
|
| 20 |
# Generate a treemap or sunburst plot based on data types
|
| 21 |
numerical_cols = df.select_dtypes(include=["float", "int"]).columns
|
| 22 |
categorical_cols = df.select_dtypes(include=["object"]).columns
|
|
|
|
| 15 |
df = pd.read_csv(uploaded_file)
|
| 16 |
st.dataframe(df.head())
|
| 17 |
|
|
|
|
|
|
|
| 18 |
# Generate a treemap or sunburst plot based on data types
|
| 19 |
numerical_cols = df.select_dtypes(include=["float", "int"]).columns
|
| 20 |
categorical_cols = df.select_dtypes(include=["object"]).columns
|