Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ mean
Method
mean
numpy/lib/tests/test_function_base.py:1652–1653 ·
view source on GitHub ↗
(a)
Source
from the content-addressed store, hash-verified
1650
1651
def
test_signature_mean_last(self):
1652
def
mean(a):
1653
return
a.mean()
1654
1655
f = vectorize(mean, signature=
'(n)->()'
)
1656
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