安装好anaconda的服务器上会more你已经安装好jupyter notebook,执行下面的命令能够提供连接地址容许远程浏览器打开并访问:python
jupyter notebook --no-browser --port=8888 --ip=10.10.87.76 --allow-root
安装jupyter主题软件浏览器
pip install jupyterthemes
查看主题列表bash
jt -l
切换主题服务器
jt -t 主题名 -T -N
恢复默认主题blog
jt- r
# 安装软件包 pip install jupyter_contrib_nbextensions # 执行jupyter命令将扩展加上 jupyter contrib nbextension install
安装这个软件包的好处是,能够不用写代码来编辑pandas的dataframes。ip
# 安装软件包 pip install qgrid # jupyter扩展上qgrid jupyter nbextension enable --py --sys-prefix widgetsnbextension
使用get
import qgrid qgrid_widget = qgrid.show_grid(df, show_toolbar=True) qgrid_widget