This repository contains a comprehensive Python data analysis exercise, showcasing skills in data manipulation, visualization, and interpretation. The analysis is performed on a customer dataset, addressing specific questions related to customer behavior, segmentation, and lifetime value.
Follow the steps below to review the analysis:
git clone git@github.com:ghaskari/RFM_Segmentation_CLV_Calculation_Ecommerce.git
Open data_analyst_task_rfm_clv.ipynb
in a Jupyter environment. Alternatively, use online platforms like Google Colab or Jupyter Notebook Viewer.
Ensure you have the required Python libraries installed:
pip install -r requirements.txt
Execute code cells in the notebook to perform data analysis tasks.
Check the notebook for calculated metrics, visualizations, and answers to provided questions.
- Assumptions and specific details for each question are included in the code.
- Persian calendar months are used for analysis.
- K-means is used for customer segmentation based on RFM model.
- CLV calculation considers churned customers and the number churned rate.