jupyter notebook导航
引言
jupyter notebook支持代码分块运行和结果可视化,很适合python脚本编程,但有时太长的jupyter notebook不便定位,因此有必要使用toc(Table of Contents2)导航工具
安装
- 安装ipython-contrib/jupyter_contrib_nbextensions的库
pip3 install jupyter_contrib_nbextensions #python3
- 安装toc2的js和css文件
jupyter contrib nbextension install
- 开启toc2功能。要想使用jupyter_contrib_nbextensions的扩展功能,必须显示开启
jupyter nbextension enable toc2/main</