概述
文章
- 基础篇
- 进阶篇
- 其他篇
用户指南
NumPy 参考手册
- 数组对象
- 常量
- 通函数(ufunc)
- 常用 API
- 创建数组
- 数组处理程序
- 二进制运算
- 字符串操作
- C-Types 外部函数接口(numpy.ctypeslib)
- 时间日期相关
- 数据类型相关
- 可选的 Scipy 加速支持(numpy.dual)
- 具有自动域的数学函数( numpy.emath)
- 浮点错误处理
- 离散傅立叶变换(numpy.fft)
- 财金相关
- 实用的功能
- 特殊的 NumPy 帮助功能
- 索引相关
- 输入和输出
- 线性代数(numpy.linalg)
- 逻辑函数
- 操作掩码数组
- 数学函数(Mathematical functions)
- 矩阵库 (numpy.matlib)
- 杂项(Miscellaneous routines)
- 填充数组(Padding Arrays)
- 多项式(Polynomials)
- 随机抽样 (numpy.random)
- 操作集合(Set routines)
- 排序,搜索和计数(Sorting, searching, and counting)
- Statistics
- Test Support (numpy.testing)
- Window functions
- 打包(numpy.distutils)
- NumPy Distutils 用户指南
- NumPy C-API
- NumPy 的内部
- NumPy 和 SWIG
其他文档
文章来源于网络收集而来,版权归原创者所有,如有侵权请及时联系!
Statistics
Order statistics
method | description |
---|---|
aminopen in new window(a[, axis, out, keepdims, initial, where]) | Return the minimum of an array or minimum along an axis. |
amaxopen in new window(a[, axis, out, keepdims, initial, where]) | Return the maximum of an array or maximum along an axis. |
nanminopen in new window(a[, axis, out, keepdims]) | Return minimum of an array or minimum along an axis, ignoring any NaNs. |
nanmaxopen in new window(a[, axis, out, keepdims]) | Return the maximum of an array or maximum along an axis, ignoring any NaNs. |
ptpopen in new window(a[, axis, out, keepdims]) | Range of values (maximum - minimum) along an axis. |
percentileopen in new window(a, q[, axis, out, …]) | Compute the q-th percentile of the data along the specified axis. |
nanpercentileopen in new window(a, q[, axis, out, …]) | Compute the qth percentile of the data along the specified axis, while ignoring nan values. |
quantileopen in new window(a, q[, axis, out, overwrite_input, …]) | Compute the q-th quantile of the data along the specified axis. |
nanquantileopen in new window(a, q[, axis, out, …]) | Compute the qth quantile of the data along the specified axis, while ignoring nan values. |
Averages and variances
method | description |
---|---|
medianopen in new window(a[, axis, out, overwrite_input, keepdims]) | Compute the median along the specified axis. |
averageopen in new window(a[, axis, weights, returned]) | Compute the weighted average along the specified axis. |
meanopen in new window(a[, axis, dtype, out, keepdims]) | Compute the arithmetic mean along the specified axis. |
stdopen in new window(a[, axis, dtype, out, ddof, keepdims]) | Compute the standard deviation along the specified axis. |
varopen in new window(a[, axis, dtype, out, ddof, keepdims]) | Compute the variance along the specified axis. |
nanmedianopen in new window(a[, axis, out, overwrite_input, …]) | Compute the median along the specified axis, while ignoring NaNs. |
nanmeanopen in new window(a[, axis, dtype, out, keepdims]) | Compute the arithmetic mean along the specified axis, ignoring NaNs. |
nanstdopen in new window(a[, axis, dtype, out, ddof, keepdims]) | Compute the standard deviation along the specified axis, while ignoring NaNs. |
nanvaropen in new window(a[, axis, dtype, out, ddof, keepdims]) | Compute the variance along the specified axis, while ignoring NaNs. |
Correlating
method | description |
---|---|
corrcoefopen in new window(x[, y, rowvar, bias, ddof]) | Return Pearson product-moment correlation coefficients. |
correlateopen in new window(a, v[, mode]) | Cross-correlation of two 1-dimensional sequences. |
covopen in new window(m[, y, rowvar, bias, ddof, fweights, …]) | Estimate a covariance matrix, given data and weights. |
Histograms
method | description |
---|---|
histogramopen in new window(a[, bins, range, normed, weights, …]) | Compute the histogram of a set of data. |
histogram2dopen in new window(x, y[, bins, range, normed, …]) | Compute the bi-dimensional histogram of two data samples. |
histogramddopen in new window(sample[, bins, range, normed, …]) | Compute the multidimensional histogram of some data. |
bincountopen in new window(x[, weights, minlength]) | Count number of occurrences of each value in array of non-negative ints. |
histogram_bin_edgesopen in new window(a[, bins, range, weights]) | Function to calculate only the edges of the bins used by the histogram function. |
digitizeopen in new window(x, bins[, right]) | Return the indices of the bins to which each value in input array belongs. |
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论