mindmap
root((Numpy Knowledge Base))
Basics
Array Creation
Numpy Array
Zeros and Ones
Empty Array
From List
Array Properties
Shape
Size
ndim
dtype
Operations
Arithmetic Operations
Addition
Subtraction
Multiplication
Division
Array Manipulation
Reshape
Flatten
Transpose
Concatenate
Indexing
Basic Indexing
Slicing
Boolean Indexing
Fancy Indexing
Linear Algebra
Matrix Multiplication
Determinants
Eigenvalues
Inverse
Random Module
Random Numbers
Random Seed
Distributions
Statistics
Mean
Median
Standard Deviation
Variance
概述
NumPy 定义
NumPy is the fundamental package for scientific computing in Python. It is a Python library that provides a multidimensional array object, various derived objects (such as masked arrays and matrices), and an assortment of routines for fast operations on arrays, including mathematical, logical, shape manipulation, sorting, selecting, I/O, discrete Fourier transforms, basic linear algebra, basic statistical operations, random simulation and much more.
NumPy 是 Python 中科学计算的基础包。它是一个 Python 库,提供多维数组对象、各种派生对象(例如掩码数组和矩阵)以及用于对数组进行快速操作的各种例程,包括数学、逻辑、形状操作、排序、选择、I/O 、离散傅里叶变换、基本线性代数、基本统计运算、随机模拟等等
NumPy is a Python library and is written partially in Python, but most of the parts that require fast computation are written in C or C++.
NumPy 包的核心是 ndarray 对象。这封装了同质数据类型的_n_维数组,许多操作在编译代码中执行以提高性能