array
|
N维数组对象。 |
array.astype(self, dtype[, stream])
|
将数组转换为指定类型。 |
array.at
|
用于在给定索引处应用更新。 |
array.item(self)
|
访问标量数组的值。 |
array.tolist(self)
|
将数组转换为 Python list。 |
array.dtype
|
数组的 Dtype。 |
array.itemsize
|
数组数据类型的大小(以字节为单位)。 |
array.nbytes
|
数组中的字节数。 |
array.ndim
|
数组的维度。 |
array.shape
|
数组的形状,以 Python 元组表示。 |
array.size
|
数组中的元素数量。 |
array.abs(self, *[, stream])
|
请参阅 abs()。 |
array.all(self[, axis, keepdims, stream])
|
请参阅 all()。 |
array.any(self[, axis, keepdims, stream])
|
请参阅 any()。 |
array.argmax(self[, axis, keepdims, stream])
|
请参阅 argmax()。 |
array.argmin(self[, axis, keepdims, stream])
|
请参阅 argmin()。 |
array.conj(self, *[, stream])
|
请参阅 conj()。 |
array.cos(self, *[, stream])
|
请参阅 cos()。 |
array.cummax(self[, axis, reverse, ...])
|
请参阅 cummax()。 |
array.cummin(self[, axis, reverse, ...])
|
请参阅 cummin()。 |
array.cumprod(self[, axis, reverse, ...])
|
请参阅 cumprod()。 |
array.cumsum(self[, axis, reverse, ...])
|
请参阅 cumsum()。 |
array.diag(self[, k, stream])
|
提取对角线或构造对角矩阵。 |
array.diagonal(self[, offset, axis1, axis2, ...])
|
请参阅 diagonal()。 |
array.exp(self, *[, stream])
|
请参阅 exp()。 |
array.flatten(self[, start_axis, end_axis, ...])
|
请参阅 flatten()。 |
array.log(self, *[, stream])
|
请参阅 log()。 |
array.log10(self, *[, stream])
|
请参阅 log10()。 |
array.log1p(self, *[, stream])
|
请参阅 log1p()。 |
array.log2(self, *[, stream])
|
请参阅 log2()。 |
array.logcumsumexp(self[, axis, reverse, ...])
|
请参阅 logcumsumexp()。 |
array.logsumexp(self[, axis, keepdims, stream])
|
请参阅 logsumexp()。 |
array.max(self[, axis, keepdims, stream])
|
请参阅 max()。 |
array.mean(self[, axis, keepdims, stream])
|
请参阅 mean()。 |
array.min(self[, axis, keepdims, stream])
|
请参阅 min()。 |
array.moveaxis(self, source, destination, *)
|
请参阅 moveaxis()。 |
array.prod(self[, axis, keepdims, stream])
|
请参阅 prod()。 |
array.reciprocal(self, *[, stream])
|
请参阅 reciprocal()。 |
array.reshape(self, *shape[, stream])
|
相当于 reshape(),但形状可以作为 tuple 或单独的参数传递。 |
array.round(self[, decimals, stream])
|
请参阅 round()。 |
array.rsqrt(self, *[, stream])
|
请参阅 rsqrt()。 |
array.sin(self, *[, stream])
|
请参阅 sin()。 |
array.split(self, indices_or_sections[, ...])
|
请参阅 split()。 |
array.sqrt(self, *[, stream])
|
请参阅 sqrt()。 |
array.square(self, *[, stream])
|
请参阅 square()。 |
array.squeeze(self[, axis, stream])
|
请参阅 squeeze()。 |
array.std(self[, axis, keepdims, ddof, stream])
|
请参阅 std()。 |
array.sum(self[, axis, keepdims, stream])
|
请参阅 sum()。 |
array.swapaxes(self, axis1, axis2, *[, stream])
|
请参阅 swapaxes()。 |
array.transpose(self, *axes[, stream])
|
相当于 transpose(),但轴可以作为元组或单独的参数传递。 |
array.T
|
相当于不带参数调用 self.transpose()。 |
array.var(self[, axis, keepdims, ddof, stream])
|
请参阅 var()。 |
array.view(self, dtype, *[, stream])
|
请参阅 view()。 |