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

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.

主站蜘蛛池模板: 昌江| 乐亭县| 古丈县| 东平县| 双辽市| 寿宁县| 呼和浩特市| 苗栗市| 五莲县| 河曲县| 湖州市| 柘城县| 威宁| 三门峡市| 烟台市| 墨玉县| 灵武市| 东兰县| 库尔勒市| 东阿县| 荆门市| 黑水县| 巴马| 武山县| 长白| 顺平县| 横峰县| 宾川县| 新晃| 获嘉县| 宜兰市| 托克逊县| 普格县| 五家渠市| 江阴市| 万安县| 上栗县| 高淳县| 湄潭县| 敦煌市| 基隆市|