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

df.isna().sum()

plt.figure(figsize=(12, 6))
sns.scatterplot(data=df, x=df['Annual Income (k$)'], y=df['Spending Score (1-100)'], hue=df['Gender'])