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

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.

主站蜘蛛池模板: 道真| 泰顺县| 西充县| 大安市| 运城市| 阳山县| 佛坪县| 开阳县| 遂溪县| 松江区| 正镶白旗| 昌黎县| 个旧市| 临澧县| 新密市| 滦南县| 黄石市| 凤台县| 石河子市| 仁寿县| 上犹县| 邢台县| 芦溪县| 中宁县| 荣成市| 抚宁县| 玉环县| 麟游县| 东阿县| 乐安县| 长顺县| 平利县| 综艺| 无锡市| 中牟县| 招远市| 娱乐| 松江区| 阿克苏市| 北辰区| 翼城县|