jupyter#

API documentation for tradingstrategy.utils.jupyter Python module in Trading Strategy.

Module description#

Helpers to deal with Jupyter Notebook issues.

Classes#

JupyterOutputMode

What kind of output Jupyter Notebook supports.

Functions#

display_with_styles(df, apply_styles_func)

Display a Pandas dataframe as a table.

format_links_for_html_output(df, link_columns)

Pandas DataFrame helper to format column link values as clicable.

get_notebook_output_mode()

Determine if the Jupyter Notebook supports HTML output.

is_pyodide()

Are we running under Pyodide / JupyterLite notebook.

make_clickable(text, url)

Format a value as a clickable link.