Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/numpy/numpy
/ mean
Method
mean
numpy/lib/tests/test_function_base.py:1895–1896 ·
view source on GitHub ↗
(a)
Source
from the content-addressed store, hash-verified
1893
1894
def
test_signature_mean_last(self):
1895
def
mean(a):
1896
return
a.mean()
1897
1898
f = vectorize(mean, signature=
'(n)->()'
)
1899
r = f([[1, 3], [2, 4]])
Callers
10
_hist_bin_doane
Function · 0.45
average
Function · 0.45
nanmean
Function · 0.45
test_basic
Method · 0.45
test_object_dtype
Method · 0.45
center
Method · 0.45
test_quantile_identification_equation
Method · 0.45
test_polyfit
Method · 0.45
test_scott_vs_stone
Method · 0.45
test_structured_to_unstructured
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected