Use third-party Python modules to customize your test reports.

Include the following code in a cell at the top of your Jupyter notebook.
!pip install <package-name>

Where package-name is the name of the package in PyPI you want to install.

Every time the notebook runs, the package installs on the container that includes the notebook.
For information on how to use a specific Python module, refer to the documentation for the module you install.