原文:https://docs.scipy.org/doc/numpy/reference/routines.array-manipulation.html
校对:(虚位以待)
copyto(dst,src [,casting,where]) |
将值从一个数组复制到另一个,必要时进行广播。 |
reshape(a,newshape [,order]) |
为数组提供新形状,而不更改其数据。 |
ravel(a [,order]) |
返回一个连续的扁平数组。 |
ndarray.flat |
数组上的1-D迭代器。 |
ndarray.flatten([order]) |
将折叠的数组的副本返回到一个维度。 |
moveaxis(a,源,目标) |
将数组的轴移动到新位置。 |
rollaxis(a,axis [,start]) |
向后滚动指定的轴,直到它位于给定位置。 |
swapaxes(a,axis1,axis2) |
交换数组的两个轴。 |
ndarray.T |
与self.transpose()相同,除非self是self.ndim返回 |
transpose(a [,axes]) |
允许数组的尺寸。 |
atleast_1d(\ * arys) |
将输入转换为具有至少一个维度的数组。 |
atleast_2d(\ * arys) |
将输入视为具有至少两个维度的数组。 |
atleast_3d(\ * arys) |
将输入视为至少包含三个维度的数组。 |
broadcast |
产生模仿广播的对象。 |
broadcast_to(array,shape [,subbok]) |
将数组广播到新形状。 |
broadcast_arrays(\ * args,\ * \ * kwargs) |
相互之间广播任意数量的数组。 |
expand_dims(a,axis) |
展开数组的形状。 |
squeeze(a [,axis]) |
从数组的形状中删除单维条目。 |
asarray(a [,dtype,order]) |
将输入转换为数组。 |
asanyarray(a [,dtype,order]) |
将输入转换为ndarray,但传递ndarray子类。 |
asmatrix(data [,dtype]) |
将输入解释为矩阵。 |
asfarray(a [,dtype]) |
返回一个转换为float类型的数组。 |
asfortranarray(a [,dtype]) |
返回在Fortran中排列的数组在内存中的顺序。 |
ascontiguousarray(a [,dtype]) |
返回内存中的连续数组(C order)。 |
asarray_chkfinite(a [,dtype,order]) |
将输入转换为数组,检查NaN或Infs。 |
asscalar(a) |
将大小为1的数组转换为其标量等效值。 |
require(a [,dtype,requirements]) |
返回满足要求的所提供类型的数组。 |
concatenate((a1,a2,...)[,axis]) |
沿现有轴连接数组序列。 |
stack(arrays [,axis]) |
沿着新轴连接数组的序列。 |
column_stack(tup) |
将1-D数组作为列堆叠到2-D数组中。 |
dstack(tup) |
按照深度顺序(沿第三轴)堆叠数组。 |
hstack(tup) |
水平(按列顺序)堆叠数组。 |
vstack(tup) |
垂直(按行)顺序堆叠数组。 |
split(ary,indices_or_sections [,axis]) |
将数组拆分为多个子数组。 |
array_split(ary,indices_or_sections [,axis]) |
将数组拆分为多个子数组。 |
dsplit(ary,indices_or_sections) |
将数组沿着第3轴(深度)拆分成多个子数组。 |
hsplit(ary,indices_or_sections) |
将数组水平(逐列)拆分为多个子数组。 |
vsplit(ary,indices_or_sections) |
垂直(行方向)将数组拆分成多个子数组。 |