Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are raw cells in jupyter notebook

I know code, I understood markdown.

I have read this Raw cells article, but could not make out much.

And what is esoteric NBConvert?

Please throw some light.

enter image description here

like image 920
VivekDev Avatar asked Dec 17 '17 06:12

VivekDev


People also ask

What kind of cells are used in Jupyter Notebook?

There are three types of cells: code cells, markdown cells, and raw cells. Every cell starts off being a code cell, but its type can be changed by using a drop-down on the toolbar (which will be “Code”, initially), or via keyboard shortcuts.

What is raw Nbconvert in Python?

You can use raw NB Convert cells to write output directly or save code that you don't want to run. Raw cells are not evaluated by the notebook.

What are markdown cells in Jupyter?

Markdown cell displays text which can be formatted using markdown language. In order to enter a text which should not be treated as code by Notebook server, it must be first converted as markdown cell either from cell menu or by using keyboard shortcut M while in command mode.


1 Answers

The updated docs at https://nbsphinx.readthedocs.io/en/0.3.1/raw-cells.html explain it pretty well.

Basically it's only of any use if you intend to use the command line tool nbconvert to convert the notebook to another format (such as HTML or Latex). When you do, cells marked as Raw NBConvert Format will be converted in a way specific to the output you're targetting.

like image 168
havlock Avatar answered Sep 22 '22 22:09

havlock