安裝好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