There are certain jupyter key shortcuts/tricks that helps developers remain more productive.
- To run a cell
Shift + enter
orctrl + enter
. - Jupyter notebooks also offers tab completion
- You can also get documentation within
jupyter-notebook
by hittingshft + tab
three times or you can by?
at the end of the function to getdocs
.
-
M
formarkdown
mode andY
for command mode. -
%env
This is going to print environment variables. -
%pdb
activatespdb
debugger. -
%pylab
allows to work interactively withnumpy
andmatplotlib
. -
%%debug
activate debbugging mode in cell. -
%%html
renders cell as html. -
%%latex
renders cell as latex. -
%%sh
shell script. -
%%time
time command to see how long it took to run the command.
These are my personal favorites for jupyter-notebook.
Btw this was published in my personal wiki.
Do you guys keep a personal wiki ?
Top comments (2)
Good Article
Thanks