Created
June 14, 2024 21:50
-
-
Save razhangwei/d4909172d25c480f433ce30b3c573f5e to your computer and use it in GitHub Desktop.
pandas display html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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