How to Solve NameError: name 'Column' is not defined -- sqlalchemy

Solution: Import the 'Column' module

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

from sqlalchemy import Column

 

For more information:
Python sqlalchemy Column