text_plain_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

df_cust = pd.read_csv('../input/customer-segmentation-dataset/Mall_Customers.csv')

df_cust.columns

df_cust.isna().sum()

df_cust.isnull().sum()

plt.figure(figsize=(6, 6))
df_cust['Genre'].value_counts().plot(kind='pie', autopct='%1.0f%%', shadow=True, explode=[0, 0.1])
plt.title('Population Distribution')
plt.show()