👥
0
Total Customers
📂
0
Features (Columns)
🔍
0
Missing Values
📋
0
Duplicate Rows
📌 About the Dataset

The Mall Customers dataset is a widely-used dataset in customer segmentation research. It was collected from a shopping mall's membership cards and contains demographic and behavioural data of 200 customers.

Source: Kaggle — Mall Customer Segmentation Data
Size: 200 rows × 5 columns
Format: CSV
Target: Unsupervised (no class label)

Why this dataset?
It has clear natural clusters when Annual Income and Spending Score are plotted together — making it ideal for demonstrating K-Means clustering in an educational context.
🗂️ Feature Descriptions
ColumnTypeDescription
CustomerIDIntegerUnique identifier — dropped before clustering
GenderStringMale or Female — encoded as binary
AgeIntegerCustomer age in years (18–70)
Annual IncomeIntegerAnnual income in thousands of dollars (15–137)
Spending ScoreIntegerMall-assigned score 1–100 based on purchase behaviour
Clustering Features Used: Annual Income (k$) and Spending Score (1–100) — after StandardScaler normalisation.
🔤 Data Types
ColumnData TypeCategory
CustomerID int64 Numerical
Gender str Numerical
Age int64 Numerical
Annual Income (k$) int64 Numerical
Spending Score (1-100) int64 Numerical
🔍 Missing Value Check
ColumnMissing CountStatus
CustomerID 0 ✅ Clean
Gender 0 ✅ Clean
Age 0 ✅ Clean
Annual Income (k$) 0 ✅ Clean
Spending Score (1-100) 0 ✅ Clean
✅ No missing values found. Dataset is complete.
👁️ Dataset Preview — First 5 Rows
CustomerIDGenderAgeAnnual Income (k$)Spending Score (1-100)
1Male191539
2Male211581
3Female20166
4Female231677
5Female311740
👁️ Dataset Preview — Last 5 Rows
CustomerIDGenderAgeAnnual Income (k$)Spending Score (1-100)
196Female3512079
197Female4512628
198Male3212674
199Male3213718
200Male3013783