Converting the data frame into a list of lists
Using Transactionencoder to transform this dataset into a logical data frame
Building the data frame: rows are logical and columns are the items that have been purchased
Print Column names
We need to drop nan column from the data frame
Most popular items
Top 10 Popular items
Barplot visualization of popular items
Apriori Algorithm:
- Association rules with 5% Support and 70% confidence
- Association rules with 1% Support and 80% confidence
Visualization of obtained rule