- 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.
推薦閱讀
- 基于粒計(jì)算模型的圖像處理
- Redis入門指南(第3版)
- Rust實(shí)戰(zhàn)
- AngularJS Web Application Development Blueprints
- SQL for Data Analytics
- Mastering Git
- 現(xiàn)代C++編程實(shí)戰(zhàn):132個(gè)核心技巧示例(原書第2版)
- Illustrator CC平面設(shè)計(jì)實(shí)戰(zhàn)從入門到精通(視頻自學(xué)全彩版)
- Web編程基礎(chǔ):HTML5、CSS3、JavaScript(第2版)
- Raspberry Pi Blueprints
- 零基礎(chǔ)C語言學(xué)習(xí)筆記
- C++ Data Structures and Algorithm Design Principles
- Continuous Integration,Delivery,and Deployment
- Oracle 11g寶典
- Kotlin核心編程