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

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.

主站蜘蛛池模板: 繁峙县| 治县。| 衡水市| 武陟县| 宽甸| 新泰市| 晋中市| 绵阳市| 鸡西市| 大埔县| 太湖县| 稻城县| 乾安县| 临桂县| 台北市| 珲春市| 墨竹工卡县| 昭平县| 兴仁县| 宁蒗| 盐池县| 临江市| 诏安县| 纳雍县| 华亭县| 泾源县| 岚皋县| 托里县| 岚皋县| 比如县| 榕江县| 洛宁县| 沈阳市| 江川县| 广德县| 呈贡县| 日照市| 延庆县| 辉县市| 澄城县| 朝阳市|