官术网_书友最值得收藏!

Editing and running code

A Jupyter Notebook has boxes called cells. It begins with the text input area for code editing, known as the gray box cell, by default. To insert and edit the code do the following:

  1. Click inside the gray box.
  2. Type your Python code inside it.
  3. Click on the play button or press Shift + Enter to run the current cell and move the cursor to the next cell:

Once a cell is run, the relevant data and methods are loaded to the memory and can be used across cells in the same notebook kernel. No reloading is needed unless for an intended change. This saves effort and time in debugging and reloading large datasets.

主站蜘蛛池模板: 南涧| 永仁县| 宣武区| 察雅县| 德钦县| 甘泉县| 黄陵县| 定日县| 明光市| 正镶白旗| 大兴区| 长沙市| 东宁县| 青龙| 陇川县| 保康县| 潞城市| 贵阳市| 长垣县| 怀来县| 资中县| 棋牌| 穆棱市| 洮南市| 清新县| 定兴县| 图们市| 始兴县| 两当县| 象山县| 临沂市| 梁河县| 黑水县| 扎囊县| 南江县| 商都县| 青冈县| 禄劝| 太白县| 菏泽市| 衡水市|