ecommerce <- data.frame(
  OrderID = c(1001,1002,1003,1004,1005),
  CustomerName = c("Aman","Riya","Karan","Neha","Rohit"),
  Category = c("Electronics","Clothing","Electronics","Home","Clothing"),
  PaymentMethod = c("UPI","Card","Card","Cash","UPI"),
  Quantity = c(1,3,2,1,4),
  PricePerUnit = c(25000,1500,20000,5000,1200),
  Discount = c(2000,300,1500,500,NA),
  DeliveryDays = c(3,5,2,4,6)
  
)

ecommerce
##   OrderID CustomerName    Category PaymentMethod Quantity PricePerUnit Discount
## 1    1001         Aman Electronics           UPI        1        25000     2000
## 2    1002         Riya    Clothing          Card        3         1500      300
## 3    1003        Karan Electronics          Card        2        20000     1500
## 4    1004         Neha        Home          Cash        1         5000      500
## 5    1005        Rohit    Clothing           UPI        4         1200       NA
##   DeliveryDays
## 1            3
## 2            5
## 3            2
## 4            4
## 5            6
str(ecommerce)        # Show structure
## 'data.frame':    5 obs. of  8 variables:
##  $ OrderID      : num  1001 1002 1003 1004 1005
##  $ CustomerName : chr  "Aman" "Riya" "Karan" "Neha" ...
##  $ Category     : chr  "Electronics" "Clothing" "Electronics" "Home" ...
##  $ PaymentMethod: chr  "UPI" "Card" "Card" "Cash" ...
##  $ Quantity     : num  1 3 2 1 4
##  $ PricePerUnit : num  25000 1500 20000 5000 1200
##  $ Discount     : num  2000 300 1500 500 NA
##  $ DeliveryDays : num  3 5 2 4 6
summary(ecommerce)
##     OrderID     CustomerName         Category         PaymentMethod     
##  Min.   :1001   Length:5           Length:5           Length:5          
##  1st Qu.:1002   Class :character   Class :character   Class :character  
##  Median :1003   Mode  :character   Mode  :character   Mode  :character  
##  Mean   :1003                                                           
##  3rd Qu.:1004                                                           
##  Max.   :1005                                                           
##                                                                         
##     Quantity    PricePerUnit      Discount     DeliveryDays
##  Min.   :1.0   Min.   : 1200   Min.   : 300   Min.   :2    
##  1st Qu.:1.0   1st Qu.: 1500   1st Qu.: 450   1st Qu.:3    
##  Median :2.0   Median : 5000   Median :1000   Median :4    
##  Mean   :2.2   Mean   :10540   Mean   :1075   Mean   :4    
##  3rd Qu.:3.0   3rd Qu.:20000   3rd Qu.:1625   3rd Qu.:5    
##  Max.   :4.0   Max.   :25000   Max.   :2000   Max.   :6    
##                                NA's   :1

str(ecommerce)        # Show structure
## 'data.frame':    5 obs. of  8 variables:
##  $ OrderID      : num  1001 1002 1003 1004 1005
##  $ CustomerName : chr  "Aman" "Riya" "Karan" "Neha" ...
##  $ Category     : chr  "Electronics" "Clothing" "Electronics" "Home" ...
##  $ PaymentMethod: chr  "UPI" "Card" "Card" "Cash" ...
##  $ Quantity     : num  1 3 2 1 4
##  $ PricePerUnit : num  25000 1500 20000 5000 1200
##  $ Discount     : num  2000 300 1500 500 NA
##  $ DeliveryDays : num  3 5 2 4 6
summary(ecommerce)
##     OrderID     CustomerName         Category         PaymentMethod     
##  Min.   :1001   Length:5           Length:5           Length:5          
##  1st Qu.:1002   Class :character   Class :character   Class :character  
##  Median :1003   Mode  :character   Mode  :character   Mode  :character  
##  Mean   :1003                                                           
##  3rd Qu.:1004                                                           
##  Max.   :1005                                                           
##                                                                         
##     Quantity    PricePerUnit      Discount     DeliveryDays
##  Min.   :1.0   Min.   : 1200   Min.   : 300   Min.   :2    
##  1st Qu.:1.0   1st Qu.: 1500   1st Qu.: 450   1st Qu.:3    
##  Median :2.0   Median : 5000   Median :1000   Median :4    
##  Mean   :2.2   Mean   :10540   Mean   :1075   Mean   :4    
##  3rd Qu.:3.0   3rd Qu.:20000   3rd Qu.:1625   3rd Qu.:5    
##  Max.   :4.0   Max.   :25000   Max.   :2000   Max.   :6    
##                                NA's   :1