收藏 | 10个可以快速用Python进行数据分析的小技巧(11)

让你的笔记脱颖而出

我们可以在您的Jupyter notebook中使用警示框/注释框来突出显示重要内容或其他需要突出的内容 。 注释的颜色取决于指定的警报类型 。 只需在需要突出显示的单元格中添加以下任一代码或所有代码即可 。

蓝色警示框:信息提示

<div class=\"alert alert-block alert-info\"><b>Tip:</b> Use blue boxes (alert-info) for tips and notes.If it’s a note you don’t have to include the word “Note”.</div>

黄色警示框:警告

<div class=\"alert alert-block alert-warning\"><b>Example:</b> Yellow Boxes are generally used to include additional examples or mathematical formulas.</div>

推荐阅读