This is a short Python coding homework about market basket analysis using a groceries csv file. I need this homework by 6/25 at 5 pm.

Homework

Python using Juypter Notebook

You are required to perform market basket analysis (apriori and association rules) on the groceries – groceries.csv file.

  1. Plot the 20 most frequent items in the dataset

  2. Get frequent itemsets that have a minimum support of 0.001

  3. Obtain the rules for the itemsets obtained in step 2 and display them in descending order by lift.