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:
Print Markdown in a Jupyter notebook
Last updated