Function Description
AxisError Axis supplied was invalid.
ComplexWa The warning raised when casting a complex dtype to a real dtype.
DataSourc DataSource(destpath='.')
ModuleDepModule deprecation warning.
RankWarniIssued by `polyfit` when the Vandermonde matrix is rank deficient.
Tester Nose test runner.
TooHardErrmax_work was exceeded.
VisibleDepVisible deprecation warning.
abs absolute(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, exto
absolute absolute(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, exto
add add(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, exto
add_docstradd_docstring(obj, docstring)
add_newdAdd documentation to an existing object, typically one defined in C
add_newdoadd_ufunc_docstring(ufunc, new_docstring)
all Test whether all array elements along a given axis evaluate to True.
allclose Returns True if two arrays are element-wise equal within a tolerance.
alltrue Check if all elements of input array are true.
amax Return the maximum of an array or maximum along an axis.
amin Return the minimum of an array or minimum along an axis.
angle Return the angle of the complex argument.
any Test whether any array element along a given axis evaluates to True.
append Append values to the end of an array.
apply_alonApply a function to 1-D slices along the given axis.
apply_overApply a function repeatedly over multiple axes.
arange arange([start,] stop[, step,], dtype=None, *, like=None)
arccos arccos(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj
arccosh arccosh(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extob
arcsin arcsin(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj]
arcsinh arcsinh(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extob
arctan arctan(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj
arctan2 arctan2(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, e
arctanh arctanh(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extob
argmax Returns the indices of the maximum values along an axis.
argmin Returns the indices of the minimum values along an axis.
argpartitioPerform an indirect partition along the given axis using the
argsort Returns the indices that would sort an array.
argwhere Find the indices of array elements that are non-zero, grouped by element.
around Evenly round to the given number of decimals.
array array(object, dtype=None, *, copy=True, order='K', subok=False, ndmin=0,
array2strinReturn a string representation of an array.
array_equaTrue if two arrays have the same shape and elements, False otherwise.
array_equiReturns True if input arrays are shape consistent and all elements equal.
array_reprReturn the string representation of an array.
array_splitSplit an array into multiple sub-arrays.
array_str Return a string representation of the data in an array.
asanyarrayasanyarray(a, dtype=None, order=None, *, like=None)
asarray asarray(a, dtype=None, order=None, *, like=None)
asarray_chkConvert the input to an array, checking for NaNs or Infs.
ascontiguoascontiguousarray(a, dtype=None, *, like=None)
asfarray Return an array converted to a float type.
asfortranarasfortranarray(a, dtype=None, *, like=None)
asmatrix Interpret the input as a matrix.
atleast_1dConvert inputs to arrays with at least one dimension.
atleast_2dView inputs as arrays with at least two dimensions.
atleast_3dView inputs as arrays with at least three dimensions.
average Compute the weighted average along the specified axis.
bartlett Return the Bartlett window.
base_repr Return a string representation of a number in the given base system.
binary_repReturn the binary representation of the input number as a string.
bincount bincount(x, /, weights=None, minlength=0)
bitwise_anbitwise_and(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signatu
bitwise_noinvert(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj]
bitwise_orbitwise_or(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signatur
bitwise_xobitwise_xor(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signatu
blackman Return the Blackman window.
block Assemble an nd-array from nested lists of blocks.
bmat Build a matrix object from a string, nested sequence, or array.
bool_ Boolean type (True or False), stored as a byte.
broadcast Produce an object that mimics broadcasting.
broadcast_Broadcast any number of arrays against each other.
broadcast_Broadcast the input shapes into a single shape.
broadcast_Broadcast an array to a new shape.
busday_cobusday_count(begindates, enddates, weekmask='1111100', holidays=[], busdaycal=None, out=None)
busday_offbusday_offset(dates, offsets, roll='raise', weekmask='1111100', holidays=None, busdaycal=None, out=None)
busdaycalebusdaycalendar(weekmask='1111100', holidays=None)
byte Signed integer type, compatible with C ``char``.
byte_bounReturns pointers to the end-points of an array.
bytes_ A byte string.
can_cast can_cast(from_, to, casting='safe')
cbrt cbrt(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj])
cdouble Complex number type composed of two double-precision floating-point
ceil ceil(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj])
cfloat Complex number type composed of two double-precision floating-point
character Abstract base class of all character string scalar types.
chararray chararray(shape, itemsize=1, unicode=False, buffer=None, offset=0,
choose Construct an array from an index array and a list of arrays to choose from.
clip Clip (limit) the values in an array.
clongdoublComplex number type composed of two extended-precision floating-point
clongfloat Complex number type composed of two extended-precision floating-point
column_st Stack 1-D arrays as columns into a 2-D array.
common_tReturn a scalar type which is common to the input arrays.
compare_ccompare_chararrays(a1, a2, cmp, rstrip)
complex12Complex number type composed of two double-precision floating-point
complex25Complex number type composed of two extended-precision floating-point
complex64Complex number type composed of two single-precision floating-point
complex_ Complex number type composed of two double-precision floating-point
complexfloAbstract base class of all complex number scalar types that are made up of
compress Return selected slices of an array along given axis.
concatenatconcatenate((a1, a2, ...), axis=0, out=None, dtype=None, casting="same_kind")
conj conjugate(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, ext
conjugate conjugate(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, ext
convolve Returns the discrete, linear convolution of two one-dimensional sequences.
copy Return an array copy of the given object.
copysign copysign(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature,
copyto copyto(dst, src, casting='same_kind', where=True)
corrcoef Return Pearson product-moment correlation coefficients.
correlate Cross-correlation of two 1-dimensional sequences.
cos cos(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj])
cosh cosh(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj])
count_nonCounts the number of non-zero values in the array ``a``.
cov Estimate a covariance matrix, given data and weights.
cross Return the cross product of two (arrays of) vectors.
csingle Complex number type composed of two single-precision floating-point
cumprod Return the cumulative product of elements along a given axis.
cumproducReturn the cumulative product over the given axis.
cumsum Return the cumulative sum of the elements along a given axis.
datetime6 If created from a 64-bit integer, it represents an offset from
datetime_adatetime_as_string(arr, unit=None, timezone='naive', casting='same_kind')
datetime_ddatetime_data(dtype, /)
deg2rad deg2rad(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, exto
degrees degrees(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extob
delete Return a new array with sub-arrays along an axis deleted. For a one
deprecate Issues a DeprecationWarning, adds warning to `old_name`'s
deprecate Deprecates a function and includes the deprecation in its docstring.
diag Extract a diagonal or construct a diagonal array.
diag_indic Return the indices to access the main diagonal of an array.
diag_indic Return the indices to access the main diagonal of an n-dimensional array.
diagflat Create a two-dimensional array with the flattened input as a diagonal.
diagonal Return specified diagonals.
diff Calculate the n-th discrete difference along the given axis.
digitize Return the indices of the bins to which each value in input array belongs.
disp Display a message on a device.
divide divide(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, ex
divmod divmod(x1, x2[, out1, out2], / [, out=(None, None)], *, where=True, casting='same_kind', order='K', dtype=None, su
dot dot(a, b, out=None)
double Double-precision floating-point number type, compatible with Python `float`
dsplit Split array into multiple sub-arrays along the 3rd axis (depth).
dstack Stack arrays in sequence depth wise (along third axis).
dtype dtype(dtype, align=False, copy=False)
ediff1d The differences between consecutive elements of an array.
einsum einsum(subscripts, *operands, out=None, dtype=None, order='K',
einsum_paeinsum_path(subscripts, *operands, optimize='greedy')
empty empty(shape, dtype=float, order='C', *, like=None)
empty_likeempty_like(prototype, dtype=None, order='K', subok=True, shape=None)
equal equal(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, ex
errstate errstate(**kwargs)
exp exp(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj])
exp2 exp2(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj])
expand_di Expand the shape of an array.
expm1 expm1(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj
expm1x expm1(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj
extract Return the elements of an array that satisfy some condition.
eye Return a 2-D array with ones on the diagonal and zeros elsewhere.
fabs fabs(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj])
fastCopyA fastCopyAndTranspose(a)
fill_diagon Fill the main diagonal of the given array of any dimensionality.
find_commDetermine common type following standard coercion rules.
finfo finfo(dtype)
fix Round to nearest integer towards zero.
flatiter Flat iterator object to iterate over arrays.
flatnonzer Return indices that are non-zero in the flattened version of a.
flexible Abstract base class of all scalar types without predefined length.
flip Reverse the order of elements in an array along the given axis.
fliplr Reverse the order of elements along axis 1 (left/right).
flipud Reverse the order of elements along axis 0 (up/down).
float128 Extended-precision floating-point number type, compatible with C
float16 Half-precision floating-point number type.
float32 Single-precision floating-point number type, compatible with C ``float``.
float64 Double-precision floating-point number type, compatible with Python `float`
float_ Double-precision floating-point number type, compatible with Python `float`
float_powefloat_power(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signatu
floating Abstract base class of all floating-point scalar types.
floor floor(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj])
floor_dividfloor_divide(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signatu
fmax fmax(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, ext
fmin fmin(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, exto
fmod fmod(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, ext
format_floFormat a floating-point scalar as a decimal string in positional notation.
format_floaFormat a floating-point scalar as a decimal string in scientific notation.
format_parClass to convert formats, names, titles description to a dtype.
frexp frexp(x[, out1, out2], / [, out=(None, None)], *, where=True, casting='same_kind', order='K', dtype=None, subok=T
from_dlpa from_dlpack(x, /)
frombufferfrombuffer(buffer, dtype=float, count=-1, offset=0, *, like=None)
fromfile fromfile(file, dtype=float, count=-1, sep='', offset=0, *, like=None)
fromfunctiConstruct an array by executing a function over each coordinate.
fromiter fromiter(iter, dtype, count=-1, *, like=None)
frompyfunfrompyfunc(func, /, nin, nout, *[, identity])
fromregex Construct an array from a text file, using regular expression parsing.
fromstring fromstring(string, dtype=float, count=-1, *, sep, like=None)
full Return a new array of given shape and type, filled with `fill_value`.
full_like Return a full array with the same shape and type as a given array.
gcd gcd(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, exto
generic Base class for numpy scalar types.
genfromtxtLoad data from a text file, with missing values handled as specified.
geomspaceReturn numbers spaced evenly on a log scale (a geometric progression).
get_array_Find the wrapper for the array with the highest priority.
get_includ Return the directory that contains the NumPy \*.h header files.
get_printoReturn the current print options.
getbufsize Return the size of the buffer used in ufuncs.
geterr Get the current way of handling floating-point errors.
geterrcall Return the current callback function used on floating-point errors.
geterrobj geterrobj()
gradient Return the gradient of an N-dimensional array.
greater greater(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, e
greater_eqgreater_equal(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signa
half Half-precision floating-point number type.
hamming Return the Hamming window.
hanning Return the Hanning window.
heaviside heaviside(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature
histogram Compute the histogram of a dataset.
histogram Compute the bi-dimensional histogram of two data samples.
histogram_Function to calculate only the edges of the bins used by the `histogram`
histogram Compute the multidimensional histogram of some data.
hsplit Split an array into multiple sub-arrays horizontally (column-wise).
hstack Stack arrays in sequence horizontally (column wise).
hypot hypot(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, ex
i0 Modified Bessel function of the first kind, order 0.
identity Return the identity array.
iinfo iinfo(type)
imag Return the imaginary part of the complex argument.
in1d Test whether each element of a 1-D array is also present in a second array.
indices Return an array representing the indices of a grid.
inexact Abstract base class of all numeric scalar types with a (potentially)
info Get help information for a function, class, or module.
inner inner(a, b, /)
insert Insert values along the given axis before the given indices.
int16 Signed integer type, compatible with C ``short``.
int32 Signed integer type, compatible with C ``int``.
int64 Signed integer type, compatible with Python `int` and C ``long``.
int8 Signed integer type, compatible with C ``char``.
int_ Signed integer type, compatible with Python `int` and C ``long``.
intc Signed integer type, compatible with C ``int``.
integer Abstract base class of all integer scalar types.
interp One-dimensional linear interpolation for monotonically increasing sample points.
intersect1 Find the intersection of two arrays.
intp Signed integer type, compatible with Python `int` and C ``long``.
invert invert(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj]
is_busday is_busday(dates, weekmask='1111100', holidays=None, busdaycal=None, out=None)
isclose Returns a boolean array where two arrays are element-wise equal within a
iscomplex Returns a bool array, where True if input element is complex.
iscomplexoCheck for a complex type or an array of complex numbers.
isfinite isfinite(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj
isfortran Check if the array is Fortran contiguous but *not* C contiguous.
isin Calculates ``element in test_elements``, broadcasting over `element` only.
isinf isinf(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj])
isnan isnan(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj])
isnat isnat(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj])
isneginf Test element-wise for negative infinity, return result as bool array.
isposinf Test element-wise for positive infinity, return result as bool array.
isreal Returns a bool array, where True if input element is real.
isrealobj Return True if x is a not complex type or an array of complex numbers.
isscalar Returns True if the type of `element` is a scalar type.
issctype Determines whether the given object represents a scalar data-type.
issubclass_Determine if a class is a subclass of a second class.
issubdtypeReturns True if first argument is a typecode lower/equal in type hierarchy.
issubsctyp Determine if the first argument is a subclass of the second argument.
iterable Check whether or not an object can be iterated over.
ix_ Construct an open mesh from multiple sequences.
kaiser Return the Kaiser window.
kron Kronecker product of two arrays.
lcm lcm(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, exto
ldexp ldexp(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, ext
left_shift left_shift(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature,
less less(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, exto
less_equal less_equal(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signatur
lexsort lexsort(keys, axis=-1)
linspace Return evenly spaced numbers over a specified interval.
load Load arrays or pickled objects from ``.npy``, ``.npz`` or pickled files.
loadtxt Load data from a text file.
log log(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj])
log10 log10(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj]
log1p log1p(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj]
log2 log2(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj])
logaddexp logaddexp(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signatur
logaddexp logaddexp2(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signatu
logical_an logical_and(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signatu
logical_notlogical_not(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, ex
logical_or logical_or(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature
logical_xorlogical_xor(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signatur
logspace Return numbers spaced evenly on a log scale.
longcompl Complex number type composed of two extended-precision floating-point
longdoubleExtended-precision floating-point number type, compatible with C
longfloat Extended-precision floating-point number type, compatible with C
longlong Signed integer type, compatible with C ``long long``.
lookfor Do a keyword search on docstrings.
mask_indicReturn the indices to access (n, n) arrays, given a masking function.
mat Interpret the input as a matrix.
matmul matmul(x1, x2, /, out=None, *, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj, axes, a
matrix matrix(data, dtype=None, copy=True)
max Return the maximum of an array or maximum along an axis.
maximum maximum(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature
maximum_s Return the scalar type of highest precision of the same kind as the input.
may_shar may_share_memory(a, b, /, max_work=None)
mean Compute the arithmetic mean along the specified axis.
median Compute the median along the specified axis.
memmap Create a memory-map to an array stored in a *binary* file on disk.
meshgrid Return coordinate matrices from coordinate vectors.
min Return the minimum of an array or minimum along an axis.
min_scalarmin_scalar_type(a, /)
minimum minimum(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature
mintypecoReturn the character for the minimum-size type to which given types can
mod remainder(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signatur
modf modf(x[, out1, out2], / [, out=(None, None)], *, where=True, casting='same_kind', order='K', dtype=None, subok=T
moveaxis Move axes of an array to new positions.
msort Return a copy of an array sorted along the first axis.
multiply multiply(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature,
nan_to_n Replace NaN with zero and infinity with large finite numbers (default
nanargmaxReturn the indices of the maximum values in the specified axis ignoring
nanargminReturn the indices of the minimum values in the specified axis ignoring
nancumproReturn the cumulative product of array elements over a given axis treating Not a
nancumsu Return the cumulative sum of array elements over a given axis treating Not a
nanmax Return the maximum of an array or maximum along an axis, ignoring any
nanmean Compute the arithmetic mean along the specified axis, ignoring NaNs.
nanmedianCompute the median along the specified axis, while ignoring NaNs.
nanmin Return minimum of an array or minimum along an axis, ignoring any NaNs.
nanpercentCompute the qth percentile of the data along the specified axis,
nanprod Return the product of array elements over a given axis treating Not a
nanquantilCompute the qth quantile of the data along the specified axis,
nanstd Compute the standard deviation along the specified axis, while
nansum Return the sum of array elements over a given axis treating Not a
nanvar Compute the variance along the specified axis, while ignoring NaNs.
ndarray ndarray(shape, dtype=float, buffer=None, offset=0,
ndenumeraMultidimensional index iterator.
ndim Return the number of dimensions of an array.
ndindex An N-dimensional iterator object to index arrays.
nditer nditer(op, flags=None, op_flags=None, op_dtypes=None, order='K', casting='safe', op_axes=None, itershape=None
negative negative(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, exto
nested_itenested_iters(op, axes, flags=None, op_flags=None, op_dtypes=None, order="K", casting="safe", buffersize=0)
nextafter nextafter(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature
nonzero Return the indices of the elements that are non-zero.
not_equal not_equal(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature
number Abstract base class of all numeric scalar types.
obj2sctypeReturn the scalar dtype or NumPy equivalent of Python type of an object.
object_ Any Python object.
ones Return a new array of given shape and type, filled with ones.
ones_like Return an array of ones with the same shape and type as a given array.
outer Compute the outer product of two vectors.
packbits packbits(a, /, axis=None, bitorder='big')
pad Pad an array.
partition Return a partitioned copy of an array.
percentile Compute the q-th percentile of the data along the specified axis.
piecewise Evaluate a piecewise-defined function.
place Change elements of an array based on conditional and input values.
poly Find the coefficients of a polynomial with the given sequence of roots.
poly1d A one-dimensional polynomial class.
polyadd Find the sum of two polynomials.
polyder Return the derivative of the specified order of a polynomial.
polydiv Returns the quotient and remainder of polynomial division.
polyfit Least squares polynomial fit.
polyint Return an antiderivative (indefinite integral) of a polynomial.
polymul Find the product of two polynomials.
polysub Difference (subtraction) of two polynomials.
polyval Evaluate a polynomial at specific values.
positive positive(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extob
power power(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, ex
printoptionContext manager for setting print options.
prod Return the product of array elements over a given axis.
product Return the product of array elements over a given axis.
promote_tpromote_types(type1, type2)
ptp Range of values (maximum - minimum) along an axis.
put Replaces specified elements of an array with given values.
put_along_Put values into the destination array by matching 1d index and data slices.
putmask putmask(a, mask, values)
quantile Compute the q-th quantile of the data along the specified axis.
rad2deg rad2deg(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, exto
radians radians(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extob
ravel Return a contiguous flattened array.
ravel_multravel_multi_index(multi_index, dims, mode='raise', order='C')
real Return the real part of the complex argument.
real_if_clo If input is complex with all imaginary parts close to zero, return
recarray Construct an ndarray that allows field access using attributes.
recfromcsvLoad ASCII data stored in a comma-separated file.
recfromtxtLoad ASCII data from a file and return it in a record array.
reciprocal reciprocal(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, ext
record A data-type scalar that allows field access as attribute lookup.
remainder remainder(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signatur
repeat Repeat elements of an array.
require Return an ndarray of the provided type that satisfies requirements.
reshape Gives a new shape to an array without changing its data.
resize Return a new array with the specified shape.
result_typ result_type(*arrays_and_dtypes)
right_shift right_shift(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signatur
rint rint(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj])
roll Roll array elements along a given axis.
rollaxis Roll the specified axis backwards, until it lies in a given position.
roots Return the roots of a polynomial with coefficients given in p.
rot90 Rotate an array by 90 degrees in the plane specified by axes.
round Round an array to the given number of decimals.
round_ Round an array to the given number of decimals.
row_stack Stack arrays in sequence vertically (row wise).
safe_eval Protected string evaluation.
save Save an array to a binary file in NumPy ``.npy`` format.
savetxt Save an array to a text file.
savez Save several arrays into a single file in uncompressed ``.npz`` format.
savez_comSave several arrays into a single file in compressed ``.npz`` format.
sctype2chaReturn the string representation of a scalar dtype.
searchsort Find indices where elements should be inserted to maintain order.
select Return an array drawn from elements in choicelist, depending on conditions.
set_numerset_numeric_ops(op1=func1, op2=func2, ...)
set_printo Set printing options.
set_string_Set a Python function to be used when pretty printing arrays.
setbufsize Set the size of the buffer used in ufuncs.
setdiff1d Find the set difference of two arrays.
seterr Set how floating-point errors are handled.
seterrcall Set the floating-point error callback function or log object.
seterrobj seterrobj(errobj, /)
setxor1d Find the set exclusive-or of two arrays.
shape Return the shape of an array.
shares_meshares_memory(a, b, /, max_work=None)
short Signed integer type, compatible with C ``short``.
show_confShow libraries in the system on which NumPy was built.
show_runtPrint information about various resources in the system
sign sign(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj])
signbit signbit(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj
signedinte Abstract base class of all signed integer scalar types.
sin sin(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj])
sinc Return the normalized sinc function.
single Single-precision floating-point number type, compatible with C ``float``.
singlecompComplex number type composed of two single-precision floating-point
sinh sinh(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj])
size Return the number of elements along a given axis.
sometrue Check whether some values are true.
sort Return a sorted copy of an array.
sort_complSort a complex array using the real part first, then the imaginary part.
source Print or write to a file the source code for a NumPy object.
spacing spacing(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extob
split Split an array into multiple sub-arrays as views into `ary`.
sqrt sqrt(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj])
square square(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj
squeeze Remove axes of length one from `a`.
stack Join a sequence of arrays along a new axis.
std Compute the standard deviation along the specified axis.
str_ A unicode string.
string_ A byte string.
subtract subtract(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature,
sum Sum of array elements over a given axis.
swapaxes Interchange two axes of an array.
take Take elements from an array along an axis.
take_alongTake values from the input array by matching 1d index and data slices.
tan tan(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj])
tanh tanh(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj])
tensordot Compute tensor dot product along specified axes.
test Pytest test runner.
tile Construct an array by repeating A the number of times given by reps.
timedelta6A timedelta stored as a 64-bit integer.
trace Return the sum along diagonals of the array.
transpose Returns an array with axes transposed.
trapz Integrate along the given axis using the composite trapezoidal rule.
tri An array with ones at and below the given diagonal and zeros elsewhere.
tril Lower triangle of an array.
tril_indicesReturn the indices for the lower-triangle of an (n, m) array.
tril_indice Return the indices for the lower-triangle of arr.
trim_zerosTrim the leading and/or trailing zeros from a 1-D array or sequence.
triu Upper triangle of an array.
triu_indiceReturn the indices for the upper-triangle of an (n, m) array.
triu_indic Return the indices for the upper-triangle of arr.
true_divid divide(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, ex
trunc trunc(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj])
typename Return a description for the given data type code.
ubyte Unsigned integer type, compatible with C ``unsigned char``.
ufunc Functions that operate element by element on whole arrays.
uint Unsigned integer type, compatible with C ``unsigned long``.
uint16 Unsigned integer type, compatible with C ``unsigned short``.
uint32 Unsigned integer type, compatible with C ``unsigned int``.
uint64 Unsigned integer type, compatible with C ``unsigned long``.
uint8 Unsigned integer type, compatible with C ``unsigned char``.
uintc Unsigned integer type, compatible with C ``unsigned int``.
uintp Unsigned integer type, compatible with C ``unsigned long``.
ulonglong Signed integer type, compatible with C ``unsigned long long``.
unicode_ A unicode string.
union1d Find the union of two arrays.
unique Find the unique elements of an array.
unpackbitsunpackbits(a, /, axis=None, count=None, bitorder='big')
unravel_inunravel_index(indices, shape, order='C')
unsignedinAbstract base class of all unsigned integer scalar types.
unwrap Unwrap by taking the complement of large deltas with respect to the period.
ushort Unsigned integer type, compatible with C ``unsigned short``.
vander Generate a Vandermonde matrix.
var Compute the variance along the specified axis.
vdot vdot(a, b, /)
vectorize vectorize(pyfunc, otypes=None, doc=None, excluded=None, cache=False,
void [Link](length_or_data, /, dtype=None)
vsplit Split an array into multiple sub-arrays vertically (row-wise).
vstack Stack arrays in sequence vertically (row wise).
where where(condition, [x, y], /)
who Print the NumPy arrays in the given dictionary.
zeros zeros(shape, dtype=float, order='C', *, like=None)
zeros_like Return an array of zeros with the same shape and type as a given array.
, subok=True[, signature, extobj])
, subok=True[, signature, extobj])
, subok=True[, signature, extobj])
ubok=True[, signature, extobj])
subok=True[, signature, extobj])
ubok=True[, signature, extobj])
subok=True[, signature, extobj])
ubok=True[, signature, extobj])
one, subok=True[, signature, extobj])
subok=True[, signature, extobj])
pe=None, subok=True[, signature, extobj])
ubok=True[, signature, extobj])
=None, subok=True[, signature, extobj])
e=None, subok=True[, signature, extobj])
None, out=None)
aycal=None, out=None)
bok=True[, signature, extobj])
ok=True[, signature, extobj])
ne, subok=True[, signature, extobj])
ne, subok=True[, signature, extobj])
None, subok=True[, signature, extobj])
ok=True[, signature, extobj])
bok=True[, signature, extobj])
, subok=True[, signature, extobj])
subok=True[, signature, extobj])
ne, subok=True[, signature, extobj])
nd', order='K', dtype=None, subok=True[, signature, extobj])
ne, subok=True[, signature, extobj])
ok=True[, signature, extobj])
bok=True[, signature, extobj])
subok=True[, signature, extobj])
subok=True[, signature, extobj])
bok=True[, signature, extobj])
pe=None, subok=True[, signature, extobj])
bok=True[, signature, extobj])
pe=None, subok=True[, signature, extobj])
e, subok=True[, signature, extobj])
e, subok=True[, signature, extobj])
ne, subok=True[, signature, extobj])
der='K', dtype=None, subok=True[, signature, extobj])
, subok=True[, signature, extobj])
one, subok=True[, signature, extobj])
ype=None, subok=True[, signature, extobj])
=None, subok=True[, signature, extobj])
ne, subok=True[, signature, extobj])
ubok=True[, signature, extobj])
subok=True[, signature, extobj])
bok=True[, signature, extobj])
ubok=True[, signature, extobj])
bok=True[, signature, extobj])
, subok=True[, signature, extobj])
ne, subok=True[, signature, extobj])
None, subok=True[, signature, extobj])
, subok=True[, signature, extobj])
=None, subok=True[, signature, extobj])
ok=True[, signature, extobj])
ubok=True[, signature, extobj])
ubok=True[, signature, extobj])
bok=True[, signature, extobj])
=None, subok=True[, signature, extobj])
e=None, subok=True[, signature, extobj])
e=None, subok=True[, signature, extobj])
ne, subok=True[, signature, extobj])
=None, subok=True[, signature, extobj])
e=None, subok=True[, signature, extobj])
True[, signature, extobj, axes, axis])
=None, subok=True[, signature, extobj])
=None, subok=True[, signature, extobj])
=None, subok=True[, signature, extobj])
der='K', dtype=None, subok=True[, signature, extobj])
None, subok=True[, signature, extobj])
p_axes=None, itershape=None, buffersize=0)
, subok=True[, signature, extobj])
asting="safe", buffersize=0)
None, subok=True[, signature, extobj])
=None, subok=True[, signature, extobj])
subok=True[, signature, extobj])
ne, subok=True[, signature, extobj])
, subok=True[, signature, extobj])
subok=True[, signature, extobj])
ne, subok=True[, signature, extobj])
=None, subok=True[, signature, extobj])
=None, subok=True[, signature, extobj])
ok=True[, signature, extobj])
bok=True[, signature, extobj])
subok=True[, signature, extobj])
ok=True[, signature, extobj])
bok=True[, signature, extobj])
subok=True[, signature, extobj])
ok=True[, signature, extobj])
subok=True[, signature, extobj])
None, subok=True[, signature, extobj])
ok=True[, signature, extobj])
bok=True[, signature, extobj])
ne, subok=True[, signature, extobj])
ubok=True[, signature, extobj])