For the complete documentation index, see llms.txt. This page is also available as Markdown.

Jupyter notebooks

Tips for Jupyter notebooks

Show multiple outputs

By default, Jupyter notebooks display one output per cell. To display multiple outputs, use:

from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = "all"

To print multiple variables on one line, separate their names with commas.

Alert boxes

<div class="alert alert-danger">
    <b> Danger </b> Danger alert box.
</div>

Run SQL queries

Use the JupySQL plugin:

JupySQL GitHub repository

Last updated