How to Solve NameError: name 'apriori' is not defined -- apyori

Solution: Import the 'apriori' module

To Solve the error, add the following line to the top of your code.

from apyori import apriori

 

For more information:
Python apyori apriori