Mpavan45 commited on
Commit
54cdf72
·
verified ·
1 Parent(s): 7b7ee83

Update pages/Simple EDA.py

Browse files
Files changed (1) hide show
  1. pages/Simple EDA.py +1 -1
pages/Simple EDA.py CHANGED
@@ -71,7 +71,7 @@ if uploaded_file is not None:
71
  # Clean the data: Handle missing values and duplicates
72
  st.write("### Cleaned Dataset:")
73
  cleaned_data = data.drop_duplicates() # Remove duplicate rows
74
- cleaned_data = cleaned_data.fillna(cleaned_data.mean()) # Replace missing values with the mean for numeric columns
75
  st.dataframe(cleaned_data)
76
 
77
  # Download button for the cleaned dataset
 
71
  # Clean the data: Handle missing values and duplicates
72
  st.write("### Cleaned Dataset:")
73
  cleaned_data = data.drop_duplicates() # Remove duplicate rows
74
+ #cleaned_data = cleaned_data.fillna(cleaned_data.mean()) # Replace missing values with the mean for numeric columns
75
  st.dataframe(cleaned_data)
76
 
77
  # Download button for the cleaned dataset