![]() The new cell will be added below the first one and become the new active cell shown by the blue bar (and frame around the cell’s content). ![]() To add a second cell, you can simply click on the symbol. Let’s start with a simple example for which we need two cells, the first one with some heading and explaining text and the second one with some simple Python code. Clicking anywhere outside of the text area of a cell will change back to ‘Command mode’. When you click into the corresponding text field to add or modify the content of the cell, the bar color will change to green indicating that you are now in ‘Edit mode’. The notebook you created in the previous section currently consists of a single empty cell marked by a blue bar on the left that indicates that this is the currently active cell and that you are in ‘Command mode’. Jupyter Notebook Tutorial: The Definitive GuideĪ Jupyter notebook is always organized as a sequence of so called ‘cells’ with each cell either containing some code or rich text created using the Markdown notation approach (further explained in a moment).28 Jupyter Notebook tips, tricks, and shortcuts. ![]() ![]() We cannot cover all the details here, so if you enjoy working with Jupyter and want to learn all it has to offer as well as all the little tricks that make life easier, the following resources may serve as good starting points: We will now explain the basics of editing a Jupyter Notebook. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |