Skip to content

Instantly share code, notes, and snippets.

@razhangwei
Created June 14, 2024 21:50
Show Gist options
  • Save razhangwei/d4909172d25c480f433ce30b3c573f5e to your computer and use it in GitHub Desktop.
Save razhangwei/d4909172d25c480f433ce30b3c573f5e to your computer and use it in GitHub Desktop.
pandas display html
from IPython.display import display, HTML
t.url = t.url.apply(lambda x: f'<a href="{x}">Link</a>')
display(HTML(t.to_html(escape=False)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment