![](/img/trans.png)
[英]Pandas / IPython Notebook: Include and display an Image in a dataframe
[英]Include HTML in a Pandas DataFrame cell in the IPython Notebook?
如何在IPython笔记本中的DataFrame生成的表中包含HTML?
例如,我希望能够做到这样的事情:
pd.DataFrame({
"text": ["Hello <strong>world</strong>"],
})
生成一个类似于的表:
<table>
<tr><th></th><th>text</th></tr>
<tr><th>0</th><td>Hello <strong>world</strong></tr>
</table>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.