MCPcopy Create free account
hub / github.com/dask/dask / moment

Method moment

dask/array/core.py:2704–2733  ·  view source on GitHub ↗

Calculate the nth centralized moment. Refer to :func:`dask.array.moment` for the full documentation. See Also -------- dask.array.moment : equivalent function

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

Source from the content-addressed store, hash-verified

2702 )
2703
2704 def moment(
2705 self,
2706 order,
2707 axis=None,
2708 dtype=None,
2709 keepdims=False,
2710 ddof=0,
2711 split_every=None,
2712 out=None,
2713 ):
2714 """Calculate the nth centralized moment.
2715
2716 Refer to :func:`dask.array.moment` for the full documentation.
2717
2718 See Also
2719 --------
2720 dask.array.moment : equivalent function
2721 """
2722 from dask.array.reductions import moment
2723
2724 return moment(
2725 self,
2726 order,
2727 axis=axis,
2728 dtype=dtype,
2729 keepdims=keepdims,
2730 ddof=ddof,
2731 split_every=split_every,
2732 out=out,
2733 )
2734
2735 @wraps(map_blocks)
2736 def map_blocks(self, func, *args, **kwargs):

Callers 2

test_momentFunction · 0.45
momentFunction · 0.45

Calls 1

momentFunction · 0.90

Tested by 1

test_momentFunction · 0.36