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

Method moment

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

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