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

Data structures

Let's move on to data structures. If you need to pause and let things sink in a little bit, or you want to play around with these a little bit more, feel free to do so. The best way to learn this stuff is to dive in and actually experiment, so I definitely encourage doing that, and that's why I'm giving you working IPython/Jupyter Notebooks, so you can actually go in, mess with the code, do different stuff with it.

For example, here we have a distribution around 25.0, but let's make it around 55.0:

import numpy as np
A = np.random.normal(55.0, 5.0, 10)
print (A)

Hey, all my numbers changed, they're closer to 55 now, how about that?

Alright, let's talk about data structures a little bit here. As we saw in our first example, you can have a list, and the syntax looks like this.

主站蜘蛛池模板: 巨鹿县| 德阳市| 寿阳县| 安化县| 宝兴县| 名山县| 大新县| 景洪市| 彝良县| 博罗县| 武平县| 东丽区| 定州市| 德江县| 乐安县| 房产| 库车县| 武穴市| 南昌县| 清水县| 托里县| 基隆市| 资中县| 洮南市| 临沧市| 武清区| 南乐县| 景洪市| 柳林县| 于都县| 资源县| 海口市| 洛隆县| 长武县| 竹北市| 望都县| 扶绥县| 施甸县| 东乡| 集贤县| 建德市|