Update pages/3_EDA_and_Feature_Engineering.py
Browse files
pages/3_EDA_and_Feature_Engineering.py
CHANGED
|
@@ -228,7 +228,7 @@ if 'df' in st.session_state:
|
|
| 228 |
|
| 229 |
st.write("## **Bivariate and MultivariateAnalysis**")
|
| 230 |
st.write("### Ploting Each Variable Against Target Variable")
|
| 231 |
-
|
| 232 |
# Exclude the specific columns for histogram plotting
|
| 233 |
columns_to_exclude = ['ProductID', 'age_bins', 'ProductPriceBucket', 'PurchaseFrequency', 'CustomerAge', 'PurchaseIntent']
|
| 234 |
df_filtered = df.drop(columns=columns_to_exclude)
|
|
|
|
| 228 |
|
| 229 |
st.write("## **Bivariate and MultivariateAnalysis**")
|
| 230 |
st.write("### Ploting Each Variable Against Target Variable")
|
| 231 |
+
import matplotlib.patches as mpatches
|
| 232 |
# Exclude the specific columns for histogram plotting
|
| 233 |
columns_to_exclude = ['ProductID', 'age_bins', 'ProductPriceBucket', 'PurchaseFrequency', 'CustomerAge', 'PurchaseIntent']
|
| 234 |
df_filtered = df.drop(columns=columns_to_exclude)
|