Jupyter Key shortcuts

There are certain jupyter key shortcuts/tricks that helps developers remain more productive.

  • To run a cell Shift + enter or ctrl + enter.
  • Jupyter notebooks also offers tab completion

  • You can also get documentation within jupyter-notebook by hitting shft + tab three times or you can by ? at the end of the function to get docs.

  • M for markdown mode and Y for command mode.
  • %env This is going to print environment variables.
  • %pdb activates pdb debugger.
  • %pylab allows to work interactively with numpy and matplotlib.
  • %%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 ?

Personal Wiki

原文链接:Jupyter Key shortcuts

© 版权声明
THE END
喜欢就支持一下吧
点赞6 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容