How to Solve NameError: name 'Reader' is not defined -- surprise

Solution: Import the 'Reader' module

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

from surprise import Reader

 

For more information:
Python surprise Reader