Skip to content

Commercial insights from analysing supermarket transaction data

Notifications You must be signed in to change notification settings

themoonrider/ds_qvi_proj

Repository files navigation

Commercial Insights from Transaction and Customer Data: Project Overview

  • 264,836 transactions of all chips purchased over one year and Customer data of 72,637 members were checked for missing data, nulls and outliers.
  • Engineered features from the text of product names to extract brand names and pack size to each transaction.
  • Joined two dataframes to examine customer segments and their purchase patterns.
  • Performed t-test and Chi-squared test to test the association between customer segments and their purchase behaviors.
  • Visualised purchase behaviors with mosaic plots.

The following recommendations were suggested for Chip Category Manager based on the data:

  • Brands to stock up
  • Pack sizes to stock up
  • Promotion strategy to optimise different customer spending behaviours

Code and Resources Used

Datasource overview

Two files were used: transactiondata and purchasedata.

Transactiondata alt text

Purchasedata alt text

Data exploration alt text Number of transactions over time

alt text Distribution of customer segments by Lifestage and Premium groups

Brand name and Customer Segment

21 Brand names were extracted and made unnique from 114 distinct Product descriptions. 21 Customer Segments were formed based on 3 Lifestages and 7 Premium groups. Association between Brand names and Customer Segments were tested with Pearson Chi-squared test.

alt text

alt text Brand names and Customer Segments Association

Pack size and Customer Segment

20 distinct pack sizes were extracted from Product descriptions. Association between Pack sizes and Customer Segments were tested with Pearson Chi-squared test. alt text

alt text

Pack Sizes and Customer Segments Association

About

Commercial insights from analysing supermarket transaction data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published