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

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.

主站蜘蛛池模板: 永仁县| 德江县| 元朗区| 鸡泽县| 甘洛县| 张家口市| 万盛区| 吉林市| 岳阳市| 喀什市| 凤山县| 焉耆| 万源市| 玉环县| 阳江市| 高雄县| 大港区| 英山县| 新安县| 德庆县| 兴文县| 新密市| 黄梅县| 榆树市| 湖州市| 顺昌县| 苏尼特左旗| 金川县| 莆田市| 栾川县| 仁化县| 陕西省| 扎囊县| 富源县| 闽清县| 中宁县| 青神县| 上杭县| 鄢陵县| 行唐县| 上犹县|