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

Method moment

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

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