Untitled

Takudzwa

2025-04-23

—————————–

1. UNDERSTANDING THE DATASET

—————————–

#loading the dataset

there are 2000 rows and 13 columns in the dataset

#exploratory data analysis

##   Unique_Customers
## 1              329
##   Total_Purchases
## 1            1999
##   Product.Category
## 1             Home
## 2      Electronics
## 3            Books
## 4         Clothing
##   Product.Category   n
## 1      Electronics 515
## 2             Home 515
## 3            Books 498
## 4         Clothing 471
##       Start_Date      End_Date
## 1 1/1/2020 15:05 9/9/2023 4:57

ssssaa

—————————–

4. SORTING & RANKING

—————————–

## # A tibble: 5 × 3
##   Customer.ID Total_Spent Frequency
##         <int>       <int>     <int>
## 1       45089       42701        11
## 2       37332       37509        10
## 3       26378       36589        12
## 4       42650       35366        13
## 5       28317       34436        12