本文共 1098 字,大约阅读时间需要 3 分钟。
Learn the basics of the NumPy library for Python in this tutorial from Keith Galli. The tutorial explains how NumPy works and how to write code with NumPy. You will learn about creating arrays, indexing, math, statistics, reshaping, and more.
从Keith Galli的本教程中学习Python的NumPy库的基础。 本教程介绍了NumPy的工作方式以及如何使用NumPy编写代码。 您将学习有关创建数组,建立索引,数学,统计信息,重塑等的知识。
Here are the topics covered:
这里是涉及的主题:
- What is NumPy 什么是NumPy
- NumPy vs Lists (speed, functionality) NumPy与列表(速度,功能)
- Applications of NumPy NumPy的应用
- The Basics (creating arrays, shape, size, data type) 基础知识(创建数组,形状,大小,数据类型)
- Accessing/Changing Specific Elements, Rows, Columns, etc (slicing) 访问/更改特定元素,行,列等(切片)
- Initializing Different Arrays (1s, 0s, full, random, etc...) 初始化不同的数组(1s,0s,完整,随机等)
- Copying variables 复制变量
- Basic Mathematics (arithmetic, trigonometry, etc.) 基础数学(算术,三角学等)
- Linear Algebra 线性代数
- Statistics 统计
- Reorganizing Arrays (reshape, vstack, hstack) 重组数组(重塑,vstack,hstack)
- Load data in from a file 从文件加载数据
- Advanced Indexing and Boolean Masking 高级索引和布尔掩码
You can watch the full video course on the (1 hour watch).
您可以在上观看完整的视频课程(观看时间为1小时)。
翻译自:
转载地址:http://sshwd.baihongyu.com/