MCPcopy 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_doaneFunction · 0.45
averageFunction · 0.45
nanmeanFunction · 0.45
test_basicMethod · 0.45
test_object_dtypeMethod · 0.45
centerMethod · 0.45
test_polyfitMethod · 0.45
test_scott_vs_stoneMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected