image_output_1.png
import matplotlib.pyplot as plt # data visualsion

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

import seaborn as sns # data visualsion

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

df.isnull().sum()

sns.set(style='whitegrid')

sns.set(style='whitegrid')

sns.set(style='whitegrid')

corr = df.corr()
colormap = sns.diverging_palette(220, 10, as_cmap=True)

plt.scatter(x='Age', y='Annual Income (k$)', data=df)
plt.xlabel('Age')
plt.ylabel('Annual Income (k$)')
plt.title('Age vs Annual Income w.r.t Gender')
plt.legend()
plt.show()