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