MCPcopy 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_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