In Kaggle 2017 data science survey of 16K data scientists, Jupyter Notebook came up as 3rd most important self-reported tool for data science.
- can add text, images, code - all in one place
- can document what we're doing as we go along and code
- can put pictures, videos, html tables, interactive widgets
- great experimentation environment
h shows the list of shortcuts
- Shift + Enter to run cell
- Shift + Tab First time pressing: tells you what parameters to pass
- Shift + Tab Press 3 times: gives additional info about method
ESC Shift+ ⬆️ extend select cells above
ESC Shift+ ⬇️ extend select cells below
- ? + function name
- Example: ?ImageClassifierData.from_paths
- ?? + function name
- Example: ??ImageClassifierData.from_paths
- function name , then Shift + Enter
- Example of Input: ImageClassifierData Shift + Enter
- Example of Output:
fastai.dataset.ImageClassifierData
- Example of Output:
- Example of Input: display Shift + Enter
- Example of Output:
<function IPython.core.display.display>
- Example of Output:
- Example of Input: ImageClassifierData Shift + Enter
- Within function, Shift + Tab
object
, then Tab shows all the options for that object or function
jupyter nbconvert --to <output format> <input notebook>
- press the Gist share button (the yellow highlighted one). It will generate a link for your Jupyter notebook to share for trouble-shooting.