trohith89 commited on
Commit
77fdba5
·
verified ·
1 Parent(s): e8413a3

Update pages/3_EDA_and_Feature_Engineering.py

Browse files
pages/3_EDA_and_Feature_Engineering.py CHANGED
@@ -134,6 +134,9 @@ if 'df' in st.session_state:
134
  - **No Dominant Age Group:** There's no single dominant age group that significantly outweighs the others. This suggests a broad appeal across different age demographics.''')
135
 
136
  st.write("### GENDER DISTRIBUTION")
 
 
 
137
  # Plot the pie chart
138
  df['CustomerGender'].value_counts().plot(kind='pie',
139
  colors=['lightblue', 'lightpink'],
 
134
  - **No Dominant Age Group:** There's no single dominant age group that significantly outweighs the others. This suggests a broad appeal across different age demographics.''')
135
 
136
  st.write("### GENDER DISTRIBUTION")
137
+ # Create a figure and axis
138
+ fig, axs = plt.subplots(figsize=(8, 8))
139
+
140
  # Plot the pie chart
141
  df['CustomerGender'].value_counts().plot(kind='pie',
142
  colors=['lightblue', 'lightpink'],