image_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

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

dataset.rename(columns={'Annual Income (k$)': 'Annual_Income', 'Spending Score (1-100)': 'Spending_Score'}, inplace=True)

dataset.shape

dataset.nunique()

plt.figure(figsize=(15, 5))
plt.subplot(1, 2, 1)
sns.distplot(dataset['Age'])
plt.title('Age Distribution')
plt.xlabel('Age')
plt.ylabel('Count')
plt.subplot(1, 2, 2)
sns.distplot(dataset['Annual_Income'], color='pink')
plt.title('Annual Income Distribution')
plt.xlabel('Annual Income')
plt.ylabel('Count')