Jupyter Notebook Tips

This is an unpolished post with some basic ideas. Hopefully the next time I think of a tip to share, I’ll remember this post and put it here.

  • Single question mark – documentation
  • Double question mark – source code (doesn’t work for code written in C)
  • Create a new Jupyter Kernel:
    source activate MYENV && echo y | conda install ipykernel && python -m ipykernel install --user --name NAME_FOR_kernelspec --display-name "Python (MYENV)"
  • Cell magics, especially %%bash, %%html, %%javascript, %%prun, %%time, %debug