- Hands-On Data Science and Python Machine Learning
- Frank Kane
- 149字
- 2021-07-15 17:14:59
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.
推薦閱讀
- 現(xiàn)代C++編程:從入門到實(shí)踐
- What's New in TensorFlow 2.0
- LabVIEW Graphical Programming Cookbook
- jQuery開發(fā)基礎(chǔ)教程
- Python算法指南:程序員經(jīng)典算法分析與實(shí)現(xiàn)
- R語言:邁向大數(shù)據(jù)之路(加強(qiáng)版)
- Clojure High Performance Programming(Second Edition)
- Hands-On Dependency Injection in Go
- Elasticsearch Blueprints
- 實(shí)驗(yàn)編程:PsychoPy從入門到精通
- Java程序設(shè)計(jì)入門(第2版)
- Java編程指南:語法基礎(chǔ)、面向?qū)ο蟆⒑瘮?shù)式編程與項(xiàng)目實(shí)戰(zhàn)
- Tkinter GUI Programming by Example
- Spring Boot 2+Thymeleaf企業(yè)應(yīng)用實(shí)戰(zhàn)
- Learning jqPlot