增强 Jupyter Notebook 的功能,这里有 4 个妙招
2019-09-23 20:00
417 查看
(给数据分析与开发加星标,提升数据技能)
转自:机器之心
# Listing folder contents
>>> !ls
mynotebook.ipynb stuff.txt# Getting the current directory
>>> !pwd
/home/george/github/project_1# Printing from Bash
>>> !echo "Pizza is delicious!"
Pizza is delicious!
# Getting the current directory.
# The variable "X" now contains ["/home/george/github/project_1"]
X = !pwd
pip install jupyterthemes
jt -l
chesterish
grade3
gruvboxd
gruvboxl
monokai
oceans16
onedork
solarizedd
solarizedl
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install
# This is a super big title
## This is a big title
### This is a medium title
#### This is a small title
pip install qgrid
jupyter nbextension enable --py --sys-prefix widgetsnbextension
import qgrid
qgrid_widget = qgrid.show_grid(df, show_toolbar=True)
qgrid_widget
添加和删除行;
筛选行;
编辑单元格。
原文链接:https://towardsdatascience.com/4-awesome-tips-for-enhancing-jupyter-notebooks-4d8905f926c5
推荐阅读
(点击标题可跳转阅读)
看完本文有收获?请转发分享给更多人
关注「数据分析与开发」加星标,提升数据技能
好文章,我在看❤️
相关文章推荐
- 增强 Jupyter Notebook 的功能,这里有 4 个妙招
- Anaconda里的jupyter notebook代码补全功能
- Anaconda中Jupyter notebook常用功能汇总--190326
- jupyter notebook中新建cell的方法与快捷键
- Tensorflow——jupyter notebook调用某个库时,出现找不到这个库情况的解决方案
- 安装运行jupyter notebook时出现UnicodeDecodeError: 'ascii' codec can't decode
- 启动jupyter notebook配置虚拟环境
- Jupyter Notebook的启动
- 使用jupyter notebook遇到一些的问题
- Python,Jupyter Notebook,IPython快速安装教程
- 更改jupyter notebook的主题颜色(theme) 包括pycharm
- 在使用Object_detection API时,在jupyter notebook下运行示例报错“no module named tensorflow”
- Jupyter notebook 集成 bash kernel
- 搭建 Jupyter Notebook 服务器
- (数据科学学习手札64)在jupyter notebook中利用kepler.gl进行空间数据可视化
- jupyter notebook默认目录的设置
- Windows 下jupyter notebook 修改打开的浏览器
- Jupyter Notebook 使用总结 Pycharm
- python - jupyter notebook 配置
- Windows + Jupyter notebook + miktex + pandoc 输出 pdf