text_plain_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sns

df = pd.read_csv('/kaggle/input/customer-segmentation-tutorial-in-python/Mall_Customers.csv')

df.drop('Gender', inplace=True, axis=1)

df.sample(3)

df.isnull().sum()

X_numerics = df[['Age', 'Annual Income (k$)', 'Spending Score (1-100)']]

plt.figure(figsize=(15, 10))
sns.heatmap(X_numerics.corr(), annot=True)
plt.show()