...
Why run your code in a console instead of a notebook? Jupyter Notebooks run code in a linear fashion, based on the explicit linear order according to the cell’s placement in the notebook. There are positives and negatives associated with running the cells linearly: Positives: Helpful because it makes the logic of the code, and project easier to understand and visualize in a step-by-step manner. Understanding the origins and processes associated with data collection, computational processes, and output become more straightforward.
Negatives: Notebooks do NOT allow code to run functions simultaneously, even when the code natively handles it. Notebooks also do NOT allow code to run based on decisions or conditional statements (such as if, if/else, or switch/case statements)
Code consoles allow you to run code interactively in a kernel. The cells of a code console show the order in which code was executed in the kernel, as opposed to the explicit ordering of cells in a notebook document. Code consoles also display rich output, just like notebook cells.
| |
---|
...
Widgets & Extensions
Extensions Jupyter widgets and extensions can be installed to extend functionality of Jupyter. Recommended installation method and use is covered in the following module.
...