Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ test_mean
Method
test_mean
c_glib/test/test-numeric-array.rb:21–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
19
include Helper::Buildable
20
21
def test_mean
22
array = build_double_array([1.1, 2.2, nil])
23
assert_in_delta(array.values.inject(&:+) / 2,
24
array.mean)
25
end
26
end
Callers
nothing calls this directly
Calls
2
values
Method · 0.45
mean
Method · 0.45
Tested by
no test coverage detected