Spaces:
Sleeping
Sleeping
Update pages/2_Simple_EDA.py
Browse files- pages/2_Simple_EDA.py +6 -1
pages/2_Simple_EDA.py
CHANGED
|
@@ -14,7 +14,12 @@ if df is not None:
|
|
| 14 |
st.write(df.head())
|
| 15 |
|
| 16 |
st.subheader("Info of the Dataset:")
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
st.subheader("Dataset Description:")
|
| 20 |
st.write(df.describe())
|
|
|
|
| 14 |
st.write(df.head())
|
| 15 |
|
| 16 |
st.subheader("Info of the Dataset:")
|
| 17 |
+
# Redirect the output of df.info() to a string buffer
|
| 18 |
+
buffer = StringIO()
|
| 19 |
+
data.info(buf=buffer)
|
| 20 |
+
|
| 21 |
+
# Display the content in Streamlit
|
| 22 |
+
st.write(buffer.getvalue())
|
| 23 |
|
| 24 |
st.subheader("Dataset Description:")
|
| 25 |
st.write(df.describe())
|