Update pages/3_EDA_and_Feature_Engineering.py
Browse files
pages/3_EDA_and_Feature_Engineering.py
CHANGED
|
@@ -24,12 +24,12 @@ if 'df' in st.session_state:
|
|
| 24 |
st.markdown("## **Univariate Analysis**")
|
| 25 |
|
| 26 |
st.markdown("### PRODUCT CATEGORY")
|
| 27 |
-
fig, ax = plt.subplots(figsize=(10, 6))
|
| 28 |
sns.countplot(x='Category', data=df, palette='viridis', ax=ax)
|
| 29 |
ax.set_title("Product Category Distribution")
|
| 30 |
ax.set_xlabel("Product Category")
|
| 31 |
ax.set_ylabel("Count")
|
| 32 |
-
ax.tick_params(axis='x', rotation=45)
|
| 33 |
st.pyplot(fig)
|
| 34 |
st.markdown("""
|
| 35 |
**Insights:**
|
|
|
|
| 24 |
st.markdown("## **Univariate Analysis**")
|
| 25 |
|
| 26 |
st.markdown("### PRODUCT CATEGORY")
|
| 27 |
+
st.write(fig, ax = plt.subplots(figsize=(10, 6))
|
| 28 |
sns.countplot(x='Category', data=df, palette='viridis', ax=ax)
|
| 29 |
ax.set_title("Product Category Distribution")
|
| 30 |
ax.set_xlabel("Product Category")
|
| 31 |
ax.set_ylabel("Count")
|
| 32 |
+
ax.tick_params(axis='x', rotation=45))
|
| 33 |
st.pyplot(fig)
|
| 34 |
st.markdown("""
|
| 35 |
**Insights:**
|