Skip to content

03. Data Understanding

Celeste Neo edited this page Nov 5, 2024 · 32 revisions

Data Sources and collection methods

Data Dictionary

Customer Profile Table

Customer Metrics Table

This table contains key metrics related to customer behavior and engagement, including demographic information, churn status, order history, and feedback indicators.

Column Name Description Type
CustomerID Unique customer ID int64
Churn Churn Flag int64
Tenure Tenure of customer in organization float64
PreferredLoginDevice Preferred login device of customer object
CityTier City tier int64
WarehouseToHome Distance between warehouse and home of customer float64
PreferredPaymentMode Preferred payment method of customer object
Gender Gender of customer object
HourSpendOnApp Number of hours spent on mobile application or website float64
NumberOfDeviceRegistered Total number of devices registered for customer int64
PreferedOrderCat Preferred order category of customer in last month object
SatisfactionScore Satisfaction score of customer on service int64
MaritalStatus Marital status of customer object
NumberOfAddress Total number of addresses added for customer int64
Complain Any complaints raised in the last month int64
OrderAmountHikeFromlastYear Percentage increase in orders from last year float64
CouponUsed Total number of coupons used in the last month float64
OrderCount Total number of orders placed in the last month float64
DaySinceLastOrder Days since the last order by customer float64
CashbackAmount Average cashback in the last month float64

Initial data exploration finds

Customer Metrics

  • Correlation with churn only significantly high for some columns
  • Some columns could be found in other tables, and should be removed to prevent data inconsistencies
  • Churn values are imbalanced, which may require resampling techniques.
  • Features with missing values had a skewed distribution and with possible gaps in data collection for new customers, it might be better to replace missing values with 0.

Data Quality assessment

Customer Metrics

  • Missing Values:

    • Tenure: 0.05% missing
    • HourSpendOnApp: 0.05% missing
    • CouponUsed: 0.05% missing
  • Duplicates: 0 duplicate records found

Clone this wiki locally