How to Solve NameError: name 'Workspace' is not defined -- azureml
Solution: Import the 'Workspace' module
To Solve the error, add the following line to the top of your code.
from azureml import Workspace
For more information:
Python azureml Workspace