Project Juypter In / Out Bracket Notation

后端 未结 1 1458
遥遥无期
遥遥无期 2021-01-24 11:43

I\'m trying to learn how project Juypter works (formerly IPython Notebook) I\'ve very confused by the cell identifier\'s In[] and Out[] I understand In = an input cell and Out

相关标签:
1条回答
  • 2021-01-24 12:11

    The numbers after In and Out are the execution counts associated with the cells: the first cell executed gets 1, the second 2, and so on:

    Execution counter (prompt number)

    The kernel should have a single, monotonically increasing counter of all execution requests that are made with store_history=True. This counter is used to populate the In[n] and Out[n] prompts. The value of this counter will be returned as the execution_count field of all execute_reply and execute_input messages.

    0 讨论(0)
提交回复
热议问题