How to Solve NameError: name 'display_html' is not defined -- IPython

Solution: Import the 'display_html' module

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

from IPython.display import display_html

 

For more information:
Python IPython display_html