numpy 2.4.3
Version history | Download JSON
-
PyPI https://pypi.org/project/numpy/ Repository https://github.com/numpy/numpy -
py.typed -
Coverage
%%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%% pie title "Typed" : 4919 "Any" : 242 "Untyped" : 286 -
Typables
%%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%% pie title "functions" : 3477 "classes" : 1320 "other" : 550- 892 functions (+1486 overloads)
- 2585 parameters
- 112 classes
- 510 methods (+34 overloads)
- 566 parameters
- 224 properties
- 510 methods (+34 overloads)
- 96 modules
- 550 attrs
- 892 functions (+1486 overloads)
Modules
Incomplete Annotations
numpy (0 missing, 32 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
dtype.class_getitem |
2 | 2 | 1 |
meth |
dtype.eq |
2 | 2 | 1 |
meth |
dtype.ne |
2 | 2 | 1 |
meth |
number.class_getitem |
2 | 2 | 1 |
meth |
number.add |
2 | 2 | 1 |
meth |
number.radd |
2 | 2 | 1 |
meth |
number.sub |
2 | 2 | 1 |
meth |
number.rsub |
2 | 2 | 1 |
meth |
number.mul |
2 | 2 | 1 |
meth |
number.rmul |
2 | 2 | 1 |
meth |
number.pow |
3 | 3 | 1 |
meth |
number.rpow |
3 | 3 | 1 |
meth |
number.truediv |
2 | 2 | 1 |
meth |
number.rtruediv |
2 | 2 | 1 |
meth |
ndarray.class_getitem |
2 | 2 | 1 |
meth |
ndarray.array_ufunc |
5 | 5 | 3 |
meth |
ndarray.array_function |
5 | 5 | 1 |
meth |
poly1d.getitem |
2 | 2 | 1 |
meth |
poly1d.setitem |
3 | 3 | 1 |
meth |
generic.new |
3 | 3 | 2 |
meth |
object_.call |
3 | 3 | 1 |
meth |
memmap.array_wrap |
4 | 4 | 1 |
meth |
ufunc.call |
3 | 3 | 3 |
meth |
ufunc.reduce |
6 | 6 | 2 |
meth |
ufunc.outer |
4 | 4 | 1 |
prop |
ufunc.identity |
1 | 1 | 1 |
numpy._core.defchararray (0 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
chararray.mod |
2 | 2 | 1 |
func |
mod |
3 | 3 | 1 |
numpy._core.einsumfunc (0 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
einsum |
8 | 8 | 2 |
numpy._core.fromnumeric (0 missing, 17 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
std |
10 | 10 | 1 |
func |
ptp |
5 | 5 | 1 |
func |
argmax |
5 | 5 | 1 |
func |
amax |
7 | 7 | 1 |
func |
any |
6 | 6 | 1 |
func |
prod |
8 | 8 | 1 |
func |
var |
10 | 10 | 1 |
func |
take |
6 | 6 | 1 |
func |
sum |
8 | 8 | 1 |
func |
clip |
9 | 9 | 1 |
func |
mean |
7 | 7 | 1 |
func |
all |
6 | 6 | 1 |
func |
argmin |
5 | 5 | 1 |
func |
amin |
7 | 7 | 1 |
func |
choose |
5 | 5 | 1 |
func |
trace |
7 | 7 | 1 |
func |
around |
4 | 4 | 1 |
numpy._core.multiarray (0 missing, 9 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
array |
9 | 9 | 1 |
func |
empty_like |
7 | 7 | 1 |
func |
inner |
3 | 3 | 1 |
func |
dot |
4 | 4 | 1 |
func |
asanyarray |
7 | 7 | 1 |
func |
vdot |
3 | 3 | 1 |
func |
asarray |
7 | 7 | 1 |
func |
asfortranarray |
4 | 4 | 1 |
func |
ascontiguousarray |
4 | 4 | 1 |
numpy._core.numeric (0 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
count_nonzero |
4 | 4 | 1 |
func |
full |
7 | 7 | 1 |
numpy._core.records (0 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
recarray.getattribute |
2 | 2 | 1 |
meth |
record.getattribute |
2 | 2 | 1 |
numpy.ctypeslib._ctypeslib (0 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
as_ctypes |
2 | 2 | 1 |
numpy.lib._arraypad_impl (0 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
pad |
9 | 9 | 1 |
numpy.lib._function_base_impl (0 missing, 10 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
gradient |
5 | 5 | 1 |
func |
quantile |
9 | 9 | 1 |
meth |
vectorize.call |
3 | 3 | 3 |
func |
trapezoid |
5 | 5 | 1 |
func |
percentile |
9 | 9 | 1 |
func |
median |
6 | 6 | 1 |
func |
corrcoef |
5 | 5 | 1 |
func |
average |
6 | 6 | 1 |
numpy.lib._npyio_impl (0 missing, 3 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
load |
7 | 7 | 1 |
func |
genfromtxt |
26 | 26 | 2 |
numpy.lib._scimath_impl (0 missing, 9 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
arctanh |
2 | 2 | 1 |
func |
log2 |
2 | 2 | 1 |
func |
log10 |
2 | 2 | 1 |
func |
arcsin |
2 | 2 | 1 |
func |
log |
2 | 2 | 1 |
func |
arccos |
2 | 2 | 1 |
func |
power |
3 | 3 | 1 |
func |
logn |
3 | 3 | 1 |
func |
sqrt |
2 | 2 | 1 |
numpy.lib._shape_base_impl (0 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
kron |
3 | 3 | 2 |
numpy.lib._type_check_impl (0 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
nan_to_num |
6 | 6 | 1 |
numpy.lib._user_array_impl (0 missing, 10 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
container.add |
2 | 2 | 1 |
meth |
container.radd |
2 | 2 | 1 |
meth |
container.sub |
2 | 2 | 1 |
meth |
container.rsub |
2 | 2 | 1 |
meth |
container.mul |
2 | 2 | 1 |
meth |
container.rmul |
2 | 2 | 1 |
meth |
container.mod |
2 | 2 | 1 |
meth |
container.rmod |
2 | 2 | 1 |
meth |
container.pow |
2 | 2 | 1 |
meth |
container.rpow |
2 | 2 | 1 |
numpy.lib.mixins (0 missing, 101 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
NDArrayOperatorsMixin.array_ufunc |
5 | 5 | 3 |
meth |
NDArrayOperatorsMixin.lt |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.le |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.eq |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.ne |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.gt |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.ge |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.add |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.radd |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.iadd |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.sub |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.rsub |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.isub |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.mul |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.rmul |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.imul |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.matmul |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.rmatmul |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.imatmul |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.truediv |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.rtruediv |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.itruediv |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.floordiv |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.rfloordiv |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.ifloordiv |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.mod |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.rmod |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.imod |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.divmod |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.rdivmod |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.pow |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.rpow |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.ipow |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.lshift |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.rlshift |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.ilshift |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.rshift |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.rrshift |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.irshift |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.and |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.rand |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.iand |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.xor |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.rxor |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.ixor |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.or |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.ror |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.ior |
2 | 2 | 2 |
meth |
NDArrayOperatorsMixin.neg |
1 | 1 | 1 |
meth |
NDArrayOperatorsMixin.pos |
1 | 1 | 1 |
meth |
NDArrayOperatorsMixin.abs |
1 | 1 | 1 |
meth |
NDArrayOperatorsMixin.invert |
1 | 1 | 1 |
numpy.linalg._linalg (0 missing, 8 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
matrix_norm |
4 | 4 | 1 |
func |
matrix_rank |
5 | 5 | 1 |
func |
det |
2 | 2 | 1 |
func |
trace |
4 | 4 | 1 |
func |
norm |
5 | 5 | 1 |
func |
multi_dot |
3 | 3 | 1 |
func |
cond |
3 | 3 | 1 |
func |
vector_norm |
5 | 5 | 1 |
numpy.ma.core (100 missing, 26 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
std |
8 | 8 | 1 |
func |
ptp |
6 | 6 | 1 |
func |
dot |
5 | 0 | 0 |
func |
correlate |
5 | 0 | 0 |
func |
product |
6 | 6 | 1 |
func |
reshape |
4 | 0 | 0 |
func |
right_shift |
3 | 0 | 0 |
func |
mean |
6 | 6 | 1 |
func |
default_fill_value |
2 | 2 | 1 |
func |
transpose |
3 | 0 | 0 |
func |
shape |
2 | 0 | 0 |
func |
fromflex |
2 | 0 | 0 |
meth |
mvoid.new |
8 | 0 | 0 |
meth |
mvoid.getitem |
2 | 0 | 0 |
meth |
mvoid.setitem |
3 | 0 | 0 |
meth |
mvoid.iter |
1 | 0 | 0 |
meth |
mvoid.len |
1 | 0 | 0 |
meth |
mvoid.filled |
2 | 0 | 0 |
meth |
mvoid.tolist |
1 | 0 | 0 |
func |
min |
6 | 6 | 1 |
func |
max |
6 | 6 | 1 |
func |
sometrue |
4 | 4 | 1 |
func |
sum |
6 | 6 | 1 |
func |
argmax |
6 | 6 | 1 |
func |
where |
4 | 0 | 0 |
func |
prod |
6 | 6 | 1 |
func |
append |
4 | 0 | 0 |
func |
minimum_fill_value |
2 | 2 | 1 |
func |
resize |
3 | 0 | 0 |
func |
var |
8 | 8 | 1 |
func |
diff |
6 | 0 | 0 |
func |
convolve |
5 | 0 | 0 |
func |
empty_like |
7 | 7 | 1 |
func |
round_ |
4 | 0 | 0 |
func |
argsort |
8 | 0 | 0 |
func |
take |
6 | 6 | 1 |
func |
power |
4 | 0 | 0 |
meth |
MaskedArray.eq |
2 | 2 | 2 |
meth |
MaskedArray.ne |
2 | 2 | 2 |
meth |
MaskedArray.product |
5 | 5 | 1 |
func |
argmin |
6 | 6 | 1 |
func |
left_shift |
3 | 0 | 0 |
func |
choose |
5 | 0 | 0 |
func |
maximum_fill_value |
2 | 2 | 1 |
func |
concatenate |
3 | 0 | 0 |
func |
trace |
7 | 7 | 1 |
func |
common_fill_value |
3 | 3 | 1 |
func |
diag |
3 | 0 | 0 |
func |
outer |
3 | 0 | 0 |
func |
alltrue |
4 | 4 | 1 |
func |
clip |
11 | 11 | 1 |
func |
inner |
3 | 0 | 0 |
numpy.ma.extras (113 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
compress_nd |
3 | 0 | 0 |
func |
masked_all_like |
2 | 0 | 0 |
func |
isin |
5 | 0 | 0 |
func |
notmasked_contiguous |
3 | 0 | 0 |
func |
apply_along_axis |
6 | 0 | 0 |
func |
setxor1d |
4 | 0 | 0 |
func |
mask_rows |
3 | 0 | 0 |
func |
polyfit |
8 | 0 | 0 |
func |
ediff1d |
4 | 0 | 0 |
func |
masked_all |
3 | 0 | 0 |
func |
notmasked_edges |
3 | 0 | 0 |
func |
union1d |
3 | 0 | 0 |
func |
flatnotmasked_contiguous |
2 | 0 | 0 |
func |
in1d |
5 | 0 | 0 |
func |
ndenumerate |
3 | 0 | 0 |
func |
corrcoef |
5 | 0 | 0 |
func |
count_masked |
3 | 0 | 0 |
func |
compress_cols |
2 | 0 | 0 |
func |
vander |
3 | 0 | 0 |
func |
apply_over_axes |
4 | 0 | 0 |
func |
mask_rowcols |
3 | 3 | 1 |
func |
clump_masked |
2 | 0 | 0 |
func |
flatnotmasked_edges |
2 | 0 | 0 |
func |
setdiff1d |
4 | 0 | 0 |
func |
clump_unmasked |
2 | 0 | 0 |
func |
compress_rows |
2 | 0 | 0 |
func |
cov |
7 | 0 | 0 |
func |
unique |
4 | 0 | 0 |
func |
intersect1d |
4 | 0 | 0 |
func |
median |
6 | 0 | 0 |
func |
mask_cols |
3 | 0 | 0 |
func |
compress_rowcols |
3 | 0 | 0 |
numpy.ma.mrecords (73 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
MaskedRecords.new |
17 | 0 | 0 |
meth |
MaskedRecords.array_finalize |
2 | 0 | 0 |
meth |
MaskedRecords.len |
1 | 0 | 0 |
meth |
MaskedRecords.getattribute |
2 | 0 | 0 |
meth |
MaskedRecords.setattr |
3 | 0 | 0 |
meth |
MaskedRecords.getitem |
2 | 0 | 0 |
meth |
MaskedRecords.setitem |
3 | 0 | 0 |
meth |
MaskedRecords.view |
3 | 0 | 0 |
meth |
MaskedRecords.harden_mask |
1 | 0 | 0 |
meth |
MaskedRecords.soften_mask |
1 | 0 | 0 |
meth |
MaskedRecords.copy |
1 | 0 | 0 |
meth |
MaskedRecords.tolist |
2 | 0 | 0 |
meth |
MaskedRecords.reduce |
1 | 0 | 0 |
prop |
MaskedRecords._data |
1 | 0 | 0 |
prop |
MaskedRecords._fieldmask |
1 | 0 | 0 |
attr |
MaskedRecords._mask |
1 | 1 | 1 |
attr |
MaskedRecords._fill_value |
1 | 1 | 1 |
func |
fromtextfile |
7 | 0 | 0 |
func |
fromarrays |
10 | 0 | 0 |
func |
fromrecords |
11 | 0 | 0 |
func |
addfield |
4 | 0 | 0 |
numpy.testing._private.utils (0 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
runstring |
3 | 3 | 1 |
Type-Ignore Comments
| Flavor | Count |
|---|---|
type: ignore[override] |
185 |
type: ignore[overload-overlap] |
177 |
type: ignore[misc] |
164 |
pyright: ignore[reportIncompatibleMethodOverride] |
46 |
type: ignore[overload-cannot-match] |
7 |
type: ignore[assignment] |
5 |
pyright: ignore[reportDeprecated] |
3 |
pyright: ignore[reportIncompatibleVariableOverride] |
3 |
pyright: ignore[reportGeneralTypeIssues] |
2 |
stubdefaulter: ignore[missing-default] |
2 |
pyright: ignore[reportGeneralTypeIssues, reportInvalidTypeArguments] |
1 |
type: ignore[type-var] |
1 |