format_links_for_html_output#
API documentation for tradingstrategy.utils.jupyter.format_links_for_html_output Python function.
- format_links_for_html_output(df, link_columns)[source]#
Pandas DataFrame helper to format column link values as clicable.
Normal links are too long to display
Only applicable to HTML output, in a not terminal
- Parameters:
link_columns (Collection[str]) – Columns where the value is a URL
df (DataFrame) –
- Returns:
New DataFrame where URLs have been converted to links with “View” label
- Return type:
DataFrame