Mpavan45 commited on
Commit
91a02f5
·
verified ·
1 Parent(s): c4c1912

Update pages/3_EDA and Feature Engineering.py

Browse files
pages/3_EDA and Feature Engineering.py CHANGED
@@ -113,8 +113,8 @@ if 'cleaned_data' in st.session_state:
113
 
114
  # Display the cleaned data on the second page
115
  st.subheader("Cleaned Data from Page 1:")
116
- data=st.dataframe(df)
117
 
 
118
  st.write("""
119
  ### **Dataset Information**
120
  The cleaned dataset has been successfully accessed from the session state.
@@ -126,7 +126,7 @@ if 'cleaned_data' in st.session_state:
126
  st.subheader("Info of the Dataset:")
127
  # Redirect the output of df.info() to a string buffer
128
  buffer = StringIO()
129
- df.info(buf=buffer)
130
 
131
  # Display the content in Streamlit as Markdown
132
  st.subheader("Info of the Dataset:")
 
113
 
114
  # Display the cleaned data on the second page
115
  st.subheader("Cleaned Data from Page 1:")
 
116
 
117
+ st.write(data)
118
  st.write("""
119
  ### **Dataset Information**
120
  The cleaned dataset has been successfully accessed from the session state.
 
126
  st.subheader("Info of the Dataset:")
127
  # Redirect the output of df.info() to a string buffer
128
  buffer = StringIO()
129
+ data.info(buf=buffer)
130
 
131
  # Display the content in Streamlit as Markdown
132
  st.subheader("Info of the Dataset:")