- Jupyter for Data Science
- Dan Toomey
- 166字
- 2021-07-08 09:22:32
How does it look when we execute scripts?
If we were to provide a name for the notebook, enter a simple Python script, and execute the notebook cells, we would see a display like this:

The script is:
name = "Dan Toomey" state = "MA" print(name + " lives in " + state)
We assign a value to the name and state variables and then print them out.
If you notice, I have placed the statements into two different cells. This is just for readability. They could all be in the same cell or three different cells.
There are line numbers assigned to each cell. The numbering always starts at 1 for the first cell, then as you move cells around the numbering may grow (as you can see the first cell is labeled cell 2 in the display).
Below the second cell, we have non-editable display results. Jupyter always displays any corresponding output of a cell just below. This could include error information as well.
- Python機(jī)器學(xué)習(xí):數(shù)據(jù)分析與評(píng)分卡建模(微課版)
- 密碼學(xué)原理與Java實(shí)現(xiàn)
- Learning Docker
- Groovy for Domain:specific Languages(Second Edition)
- Hands-On Reinforcement Learning with Python
- Swift語(yǔ)言實(shí)戰(zhàn)精講
- Unity 2D Game Development Cookbook
- Create React App 2 Quick Start Guide
- Programming with CodeIgniterMVC
- Unity&VR游戲美術(shù)設(shè)計(jì)實(shí)戰(zhàn)
- Principles of Strategic Data Science
- 網(wǎng)絡(luò)數(shù)據(jù)采集技術(shù):Java網(wǎng)絡(luò)爬蟲實(shí)戰(zhàn)
- 從零開(kāi)始:C語(yǔ)言快速入門教程
- Koa與Node.js開(kāi)發(fā)實(shí)戰(zhàn)
- 測(cè)試工程師Python開(kāi)發(fā)實(shí)戰(zhàn)