Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2023 10:51 AM
Looks like this works!
from IPython.display import HTML, display
from IPython import get_ipython
try:
shell = get_ipython().__class__.__name__
if shell == 'DatabricksShell':
display(HTML(html_string))kudos to this stackoverflow answer: https://stackoverflow.com/questions/71474139/how-to-import-displayhtml-in-databricks