numpy.routines
array[dtype: type = NoneType, ndmin: Literal[int] = 0](a, copy: bool = True, order: str = "K")
asarray[dtype: type = NoneType](a, order: str = "K")
asanyarray[dtype: type = NoneType](a, order: str = "K")
asarray_chkfinite[dtype: type = NoneType](a, order: str = "K")
empty[dtype: type = float](shape, order: str = "C")
empty_like[dtype: type = NoneType](prototype, order: str = "K", shape = None)
zeros[dtype: type = float](shape, order: str = "C")
zeros_like[dtype: type = NoneType](prototype, order: str = "K")
ones[dtype: type = float](shape, order: str = "C")
ones_like[dtype: type = NoneType](prototype, order: str = "K")
identity[dtype: type = float](n: int)
eye[dtype: type = float](N: int, M: Optional[int] = None, k: int = 0, order: str = "C")
diag(v, k: int = 0)
diagflat(v, k: int = 0)
tri[dtype: type = float](N: int, M: Optional[int] = None, k: int = 0)
triu(x, k: int = 0)
tril(x, k: int = 0)
vander(x, N: Optional[int] = None, increasing: bool = False)
arange[dtype: type = float](start: float, stop: float, step: float)
arange[dtype: type = float](stop: float, step: float)
arange[dtype: type = float](start: float, stop: float)
arange[dtype: type = float](stop: float)
arange[dtype: type = int](start: int, stop: int, step: int)
arange[dtype: type = int](stop: int, step: int)
arange[dtype: type = int](start: int, stop: int)
arange[dtype: type = int](stop: int)
arange[dtype: type = NoneType](start: datetime64, stop, step = None)
arange[dtype: type = NoneType](start: timedelta64, stop, step)
arange[dtype: type = NoneType](start: timedelta64, stop)
arange[dtype: type = NoneType](stop: timedelta64)
arange[dtype: type = datetime64[("D", 1)]](start: str, stop, step = None)
linspace[retstep: Literal[bool] = False, dtype: type = float](start: float, stop: float, num: int = 50, endpoint: bool = True)
linspace[retstep: Literal[bool] = False, dtype: type = float](start: float, stop: float, num: int = 50, endpoint: bool = True)
logspace[retstep: Literal[bool] = False, dtype: type = float](start: float, stop: float, num: int = 50, endpoint: bool = True, base: float = 10.0)
geomspace[dtype: type = float](start: float, stop: float, num: int = 50, endpoint: bool = True)
fromfunction[dtype: type = float](function, shape, **kwargs)
fromiter[dtype: type](iterable, count: int = -1)
frombuffer[dtype: type = float](buffer: str, count: int = -1, offset: int = 0)
broadcast_shapes(*args)
broadcast_to(x, shape)
broadcast_arrays(*args)
meshgrid[sparse: Literal[bool] = False, indexing: Literal[str] = "xy"](*xi, copy: bool = True)
broadcast(*args)
full[dtype: type = NoneType](shape, fill_value, order: str = "C")
full_like[dtype: type = NoneType](prototype, fill_value, order: str = "K")
copyto(dst: ndarray, src, where = True)
ndim(a)
size(a, axis: Optional[int] = None)
shape(a)
reshape(a, newshape, order: str = "C")
transpose(a, axes = None)
ravel(a, order: str = "C")
ascontiguousarray[dtype: type = NoneType](a)
asfortranarray[dtype: type = NoneType](a)
asfarray[dtype: type = float](a)
moveaxis(a, source, destination)
swapaxes(a, axis1: int, axis2: int)
atleast_1d(*arys)
atleast_2d(*arys)
atleast_3d(*arys)
require[dtype: type = NoneType](a, requirements = None)
concatenate[dtype: type = NoneType](arrays, axis = 0, out = None)
expand_dims(a, axis)
stack[dtype: type = NoneType](arrays, axis: int = 0, out = None)
vstack[dtype: type = NoneType](tup)
hstack[dtype: type = NoneType](tup)
dstack(tup)
row_stack = vstack
column_stack(tup)
repeat(a, repeats, axis = None)
delete(arr, obj, axis = None)
append(arr, values, axis = None)
insert(arr, obj, values, axis = None)
array_split(ary, indices_or_sections, axis: int = 0)
split(ary, indices_or_sections, axis: int = 0)
vsplit(ary, indices_or_sections)
hsplit(ary, indices_or_sections)
dsplit(ary, indices_or_sections)
trim_zeros(filt, trim: str = "fb")
flip(m, axis = None)
fliplr(m)
flipud(m)
rot90(m, k: int = 1, axes: Tuple[(int, int)] = (0, 1))
resize(a, new_shape)
tile(A, reps)
roll(a, shift, axis = None)
block(arrays)
isclose(a, b, rtol: float = 1e-05, atol: float = 1e-08, equal_nan: bool = False)
allclose(a, b, rtol: float = 1e-05, atol: float = 1e-08, equal_nan: bool = False)
array_equal(a1, a2, equal_nan: bool = False)
array_equiv(a1, a2)
squeeze(a, axis = None)
pad(array, pad_width, mode = "constant", **kwargs)
nonzero(a)
flatnonzero(a)
argwhere(a)
where(condition, x, y)
where(condition)
extract(condition, arr)
searchsorted(a, v, side: str = "left", sorter = None)
take(a, indices, axis = None, out = None, mode: str = "raise")
indices[dtype: type = int, sparse: Literal[bool] = False](dimensions)
ix_(*args)
ravel_multi_index(multi_index, dims, mode: str = "raise", order: str = "C")
unravel_index(indices, shape, order: str = "C")
diag_indices(n: int, ndim: int)
diag_indices[ndim: Literal[int] = 2](n: int)
diag_indices_from(arr)
mask_indices(n: int, mask_func, k = 0)
tril_indices(n: int, k: int = 0, m: Optional[int] = None)
tril_indices_from(arr, k: int = 0)
triu_indices(n: int, k: int = 0, m: Optional[int] = None)
triu_indices_from(arr, k: int = 0)
take_along_axis(arr, indices, axis)
choose(a, choices, out = None, mode: str = "raise")
compress(condition, a, axis = None, out = None)
diagonal(a, offset: int = 0, axis1: int = 0, axis2: int = 1)
select(condlist: List, choicelist: List, default = 0)
place(arr: ndarray, mask, vals)
put(a: ndarray, ind, v, mode: str = "raise")
put_along_axis(arr: ndarray, indices, values, axis)
putmask(a: ndarray, mask, values)
fill_diagonal(a: ndarray, val, wrap: bool = False)
round(a, decimals: int = 0, out = None)
around = round
clip(a, a_min, a_max, out = None)
ndenumerate(arr)
ndindex(*shape)
iterable(y)
packbits(a, axis = None, bitorder: str = "big")
unpackbits(a, axis = None, count = None, bitorder: str = "big")
isposinf(x, out = None)
isneginf(x, out = None)
iscomplex(x)
iscomplexobj(x)
isreal(x)
isrealobj(x)
isfortran(a: ndarray)
isscalar(element)
real(val)
imag(val)
class ndarray[dtype, ndim]
Properties
2
Methods
16
class busdaycalendar
Properties
2
busday_offset(dates, offsets, roll: str = "raise", weekmask = None, holidays = None, busdaycal = None, out = None)
busday_count(begindates, enddates, weekmask = None, holidays = None, busdaycal = None, out = None)
is_busday(dates, weekmask = None, holidays = None, busdaycal = None, out = None)
datetime_data[dtype: type]()
datetime_as_string(arr, unit = None, timezone: str = "naive")