Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nikunjk9/market-segmentation-and-product-development-strategies

Analyzing customer data of an Online retail store using Python and provide insight about the purchase trends of customers helping the retail store to make effective product development strategies to increase customer satisfaction and increase sales.
https://github.com/nikunjk9/market-segmentation-and-product-development-strategies

anlysis customer jupyter-notebook marketsegmentation sales

Last synced: about 1 month ago
JSON representation

Analyzing customer data of an Online retail store using Python and provide insight about the purchase trends of customers helping the retail store to make effective product development strategies to increase customer satisfaction and increase sales.

Awesome Lists containing this project

README

        

# MARKET SEGMENTATION AND PRODUCT DEVELOPMENT STRATEGIES

The project topic is "Market Segmentation and Product Development Strategies." This project addresses a important component of modern business strategy, especially in the rapidly growing e-commerce sector. One way for online retailers to gain competitive advantage, increase customer satisfaction and drive profitability is by understanding how to efficiently segment markets and develop products that suit particular groups of customers. This implies that businesses must understand who their customers are exactly before designing a product or service for them. Furthermore, as big data and advanced analytics continue to rise, there are new opportunities for using customer data in making more informed decisions about markets. The aim of this research is bridging the gap between market segmentation insights and practical product development strategies that ultimately lead to better business outcomes.

## **1.0 Introduction**

In this notebook, we utilize the publicly available Online Retail dataset to explore customer segmentation and provide product development strategies based on the customer data.

### 1.1 Dataset Introduction
The Online Retail a transnational data set which contains all the transactions occurring between 01/12/2010 and 09/12/2011 for a UK-based and registered non-store online retail.The company mainly sells unique all-occasion gifts. Many customers of the company are wholesalers.

**Additional variable information**

1. `InvoiceNo:` A unique identifier for the invoice. An invoice number shared across rows means that those transactions were performed in a single invoice (multiple purchases).
2. `StockCode:` Identifier for items contained in an invoice.
3. `Description:` Textual description of each of the stock item.
4. `Quantity:` The quantity of the item purchased.
5. `InvoiceDate:` Date of purchase.
6. `UnitPrice:` Value of each item.
7. `CustomerID:` Identifier for customer making the purchase.
8. `Country:` Country of customer.

## **2.0 Outline**

### 1. Import Libraries and Dataset
Import all the necessary libraries required for the analysis of customer data. Importing the Online Retail dataset from an Excel file into a pandas DataFrame. This will allow us to easily manipulate and analyze the data using Python's powerful data analysis libraries.

## 2. Cleansing Dataset
Before proceeding with any analysis, it's essential to check for missing values in the dataset. Missing values can affect the quality of analysis, so we need to identify and address them appropriately (e.g., by removing or imputing the missing data).

## 3. Exploratory Analysis
`Exploratory Data Analysis (EDA)` is a critical step in understanding the characteristics and underlying patterns of a dataset. This phase involves summarizing the main features of the data, often through visualizations and statistical measures, to uncover insights and guide further data preprocessing and analysis.

`In this section`, we will perform EDA on our dataset to gain a comprehensive understanding of the transaction data. By leveraging various data visualization techniques, such as plots and charts, we aim to identify trends, detect anomalies, and highlight key patterns. This process will help us to better grasp the data's structure, distribution, and relationships, setting the stage for more advanced analyses and modeling.

## 4. Sales MoM
In this section, we will analyze the `month-over-month (MoM) growth` in sales and product quantity. Tracking MoM growth helps identify trends and patterns in customer purchasing behavior, allowing for a clearer understanding of sales performance over time. By evaluating the fluctuation in sales and product quantity across different months, we can gain insights into seasonal demand, promotional impacts, and potential growth opportunities for the business.

## 5. Customer Analysis
By analyzing customer data, we aim to gain insights into various demographic attributes, such as geographical location and purchasing behavior. This understanding will help identify key customer segments, tailor marketing strategies, and enhance customer experience based on their demographic profiles.

## 6. Order vs Sales
`In this section`, we will analyze the relationship between the number of orders and the total sales revenue generated by customers. It is common for a single order to include multiple products. By identifying the top 10 customers with the highest total number of orders, we can also determine the sales revenue they have generated. This analysis will provide insights into how order volume correlates with revenue and highlight key customers contributing significantly to sales.

## 7. Customer Segmentation using RFM Analysis
In this section, we will explore Customer Segmentation through RFM (Recency, Frequency, and Monetary) analysis. RFM analysis is a powerful marketing technique that helps businesses categorize their customers based on their transaction behaviors. By analyzing the recency, frequency, and monetary value of customer interactions, we can identify key customer segments and tailor marketing strategies accordingly.

1. `Recency` measures how recently a customer has made a purchase. This helps in identifying customers who are still actively engaged.
2. `Frequency` tracks how often a customer makes a purchase, indicating their loyalty and purchasing habits.
3. `Monetary` assesses how much money a customer spends, revealing their overall value to the business.

## 8. Who are the lost customers?
we will identify customers who have been classified as "lost" based on their RFM (Recency, Frequency, Monetary) scores. These are customers whose recent activity, purchase frequency, and spending are all low. By focusing on the RFM class '111', which signifies low values across all three metrics, we can pinpoint the customers who are least engaged with the business. This analysis helps in understanding which customers have become inactive and may benefit from targeted re-engagement strategies.

## 9. Defining Customer Segments with RFM Levels?
We focus on identifying loyal customers based on their RFM (Recency, Frequency, Monetary) scores, specifically looking at those with high frequency values. Loyal customers are characterized by their frequent purchases, which often indicates a strong and ongoing relationship with the business. By examining customers who fall into the higher quartiles for frequency, we can identify those who have demonstrated consistent purchasing behavior.

## 10. Defining Customer Segments with RFM Levels
This segmentation allows for targeted marketing strategies by identifying customers who are the most valuable and engaged, as well as those who may need additional incentives to increase their value to the business.

## 11. Analyzing RFM Segments
Calculate the average values for each RFM_Level and determine the size of each segment.


# Screenshots

### 1. Hourly based highest sales
![Hourly based highest sales](https://github.com/nikunjk9/Market-Segmentation-and-Product-Development-Strategies/blob/main/Hourly%20based%20highest%20sales.png)

### 2. Top Customer based on Sales
![Top Customer based on Sales](https://github.com/nikunjk9/Market-Segmentation-and-Product-Development-Strategies/blob/main/Top%20Customer%20based%20on%20Sales.png)

### 3. Top Customer based on Quantity
![Top Customer based on Quantity](https://github.com/nikunjk9/Market-Segmentation-and-Product-Development-Strategies/blob/main/Top%20Customer%20based%20on%20Quantity.png)

### 4. Arpu TOP Customer.png
![Arpu TOP Customer.png](https://github.com/nikunjk9/Market-Segmentation-and-Product-Development-Strategies/blob/main/Arpu%20TOP%20Customer.png)

### 5. Customer Segments with RFM Levels
![Customer Segments with RFM Levels](https://github.com/nikunjk9/Market-Segmentation-and-Product-Development-Strategies/blob/main/Customer%20Segments%20with%20RFM%20Levels.png)