CosmickVisions commited on
Commit
32b4d25
·
verified ·
1 Parent(s): 961a3b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -386,7 +386,7 @@ elif app_mode == "Smart Cleaning":
386
  outlier_cols = st.multiselect("Columns to Remove Outliers From", all_outlier_cols, default=["All Numerical"], help="Select the columns to remove outliers from. Choose 'All Numerical' to apply to all numerical columns.")
387
  if "All Numerical" in outlier_cols:
388
  outlier_cols = df.select_dtypes(include=np.number).columns.tolist()
389
- outlier_method = st.selectbox("outlier_method = st.selectbox("Outlier Removal Method", ["IQR", "Z-score"], help="Choose the outlier removal method.")
390
  if outlier_method == "IQR":
391
  iqr_threshold = st.slider("IQR Threshold", 1.0, 3.0, 1.5, help="Adjust the IQR threshold.")
392
  else:
 
386
  outlier_cols = st.multiselect("Columns to Remove Outliers From", all_outlier_cols, default=["All Numerical"], help="Select the columns to remove outliers from. Choose 'All Numerical' to apply to all numerical columns.")
387
  if "All Numerical" in outlier_cols:
388
  outlier_cols = df.select_dtypes(include=np.number).columns.tolist()
389
+ outlier_method = st.selectbox("Outlier Removal Method", ["IQR", "Z-score"], help="Choose the outlier removal method.")
390
  if outlier_method == "IQR":
391
  iqr_threshold = st.slider("IQR Threshold", 1.0, 3.0, 1.5, help="Adjust the IQR threshold.")
392
  else: