Jupyter Notebook中的快捷键
shift+enter: 运行代码块
shift+tab: show the documentation pop up for the method
Esc+m: markdown语句
jupyter notebook中reload模块:
参考 https://blog.csdn.net/ybdesire/article/details/86709727
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17#对于 python2.x
import some_module
reload(some_module)
#对于 Python 3.2 and 3.3:
import some_module
import importlib
importlib.reload(some_module)
#对于python3.4+:
import some_module
import imp
imp.reload(some_module)
#例:修改了xgboost文件夹下core.py中的代码,重新加载:
importlib.reload(xgboost.core)