updated apriori function, df coerced to transactions