HdiJupyterUtils is a Python library providing utilities for Jupyter projects, particularly those from the HDInsight team, often used in conjunction with Sparkmagic for interactive Spark cluster interaction. It is currently at version 0.23.0 and sees active development with regular patch and minor releases as part of the Sparkmagic project.
pip install hdijupyterutilsVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to use the `display_html` function from `hdijupyterutils.ipythondisplay` to render raw HTML content, including the HTML representation of a Pandas DataFrame, directly in a Jupyter environment. This function is often used internally by Sparkmagic to present results.
Upgrade Python to 3.7 or newer.
Ensure `pandas` version is less than 2.0.0 or upgrade to `hdijupyterutils` 0.23.0+ and verify compatibility.
Review release notes for `ipykernel` and `hdijupyterutils` regarding async execution; report issues to the `sparkmagic` repository.
Upgrade to `hdijupyterutils` version 0.23.0 or higher for full compatibility with IPython 8 and 9.
Use `%load_ext autoreload` and `%autoreload 2` at the top of your notebook to automatically reload modules upon changes.