text_plain_output_1.png image_output_1.png
import pandas as pd

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

import seaborn as sns

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

x_k = df['Annual Income (k$)'].values
y_k = df['Spending Score (1-100)'].values

x_k