MCPcopy
hub / github.com/dask/dask / mean

Method mean

dask/array/_array_expr/_collection.py:363–381  ·  view source on GitHub ↗

Returns the average of the array elements along given axis. Refer to :func:`dask.array.mean` for full documentation. See Also -------- dask.array.mean : equivalent function

(self, axis=None, dtype=None, keepdims=False, split_every=None, out=None)

Source from the content-addressed store, hash-verified

361 )
362
363 def mean(self, axis=None, dtype=None, keepdims=False, split_every=None, out=None):
364 """Returns the average of the array elements along given axis.
365
366 Refer to :func:`dask.array.mean` for full documentation.
367
368 See Also
369 --------
370 dask.array.mean : equivalent function
371 """
372 from dask.array.reductions import mean
373
374 return mean(
375 self,
376 axis=axis,
377 dtype=dtype,
378 keepdims=keepdims,
379 split_every=split_every,
380 out=out,
381 )
382
383 def std(
384 self, axis=None, dtype=None, keepdims=False, ddof=0, split_every=None, out=None

Callers 15

_meanFunction · 0.45
test_stack_scalarsFunction · 0.45
test_tiledb_multiattrFunction · 0.45
fooFunction · 0.45
statsFunction · 0.45
mystatsFunction · 0.45
test_meanFunction · 0.45
test_sparse.pyFile · 0.45
test_kwargsFunction · 0.45

Calls 1

meanFunction · 0.90

Tested by 15

_meanFunction · 0.36
test_stack_scalarsFunction · 0.36
test_tiledb_multiattrFunction · 0.36
fooFunction · 0.36
statsFunction · 0.36
mystatsFunction · 0.36
test_meanFunction · 0.36
test_kwargsFunction · 0.36
test_array_broadcastingFunction · 0.36