text_plain_output_1.png
import matplotlib.pyplot as plt

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

import seaborn as sns

data = pd.read_csv('../input/Mall_Customers.csv')

data.shape

data.isnull().any()

sns.set(style='white', palette='PuBuGn_d', color_codes=True)

sns.countplot('Gender', data=data, palette='winter')
size = data['Gender'].value_counts()
print('Female :', size[0] / (size[0] + size[1]) * 100)
print('Male :', size[1] / (size[0] + size[1]) * 100)
plt.title('Gender distirbution')