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

Method moment

dask/array/core.py:2709–2738  ·  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

2707 )
2708
2709 def moment(
2710 self,
2711 order,
2712 axis=None,
2713 dtype=None,
2714 keepdims=False,
2715 ddof=0,
2716 split_every=None,
2717 out=None,
2718 ):
2719 """Calculate the nth centralized moment.
2720
2721 Refer to :func:`dask.array.moment` for the full documentation.
2722
2723 See Also
2724 --------
2725 dask.array.moment : equivalent function
2726 """
2727 from dask.array.reductions import moment
2728
2729 return moment(
2730 self,
2731 order,
2732 axis=axis,
2733 dtype=dtype,
2734 keepdims=keepdims,
2735 ddof=ddof,
2736 split_every=split_every,
2737 out=out,
2738 )
2739
2740 @wraps(map_blocks)
2741 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