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

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.

主站蜘蛛池模板: 曲阜市| 连平县| 中西区| 乃东县| 奉节县| 长治县| 白河县| 河池市| 丰台区| 阳朔县| 西丰县| 咸阳市| 黄梅县| 江达县| 永春县| 积石山| 安乡县| 云林县| 桃园县| 镇江市| 大丰市| 德阳市| 屏东市| 启东市| 莱芜市| 安西县| 突泉县| 兴化市| 永丰县| 宁德市| 商丘市| 色达县| 晋州市| 杭锦后旗| 聊城市| 凤冈县| 湄潭县| 高州市| 惠东县| 慈溪市| 综艺|