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

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.

主站蜘蛛池模板: 封开县| 墨竹工卡县| 什邡市| 广元市| 鲜城| 新泰市| 财经| 万宁市| 通渭县| 汨罗市| 通州市| 阳原县| 北川| 正安县| 都江堰市| 舞阳县| 南昌市| 科技| 息烽县| 沁水县| 高陵县| 达日县| 定结县| 合阳县| 肇州县| 扶绥县| 临猗县| 璧山县| 甘泉县| 库尔勒市| 高密市| 耒阳市| 资阳市| 遂宁市| 吴川市| 鄯善县| 罗田县| 东乡县| 辽阳县| 英山县| 从江县|