- 从零开始学Python大数据与量化交易
- 周峰 王可群
- 140字
- 2021-03-30 19:09:32
2.4.2 利用Python Notebook编写Python程序
单击“新建”按钮,新建一个Python3的Notebook,然后命名为Python2-2,并输入以下代码:

单击按钮,程序运行结果如图2.34所示。

图2.34 获得汽车制造业指数的所有股票代码
单击“新建”按钮,新建一个Python3的Notebook,然后命名为Python2-3,并输入以下代码:

单击按钮,程序运行结果如图2.35所示。

图2.35 限售解禁股数据
学习心得
__________