pyinterp.core.DescriptiveStatisticsFloat64

class pyinterp.core.DescriptiveStatisticsFloat64

Bases: pybind11_builtins.pybind11_object

Univariate descriptive statistics.

__init__(self: pyinterp.core.DescriptiveStatisticsFloat64, values: numpy.ndarray[numpy.float64], weights: Optional[numpy.ndarray[numpy.float64]] = None, axis: Optional[List[int]] = None) None

Default constructor

Parameters
  • values (numpy.ndarray) – Array containing numbers whose statistics are desired.

  • weights (numpy.ndarray, optional) – An array of weights associated with the values. If not provided, all values are assumed to have equal weight.

  • axes (iterable, optional) – Axis or axes along which to compute the statistics. If not provided, the statistics are computed over the flattened array.

Methods

DescriptiveStatisticsFloat64.count(self)

Returns the count of samples.

DescriptiveStatisticsFloat64.kurtosis(self)

Returns the kurtosis of samples.

DescriptiveStatisticsFloat64.max(self)

Returns maximum of samples.

DescriptiveStatisticsFloat64.mean(self)

Returns the mean of samples.

DescriptiveStatisticsFloat64.min(self)

Returns the minimum of samples.

DescriptiveStatisticsFloat64.skewness(self)

Returns the skewness of samples.

DescriptiveStatisticsFloat64.sum(self)

Returns the sum of samples.

DescriptiveStatisticsFloat64.sum_of_weights(self)

Returns the sum of samples.

DescriptiveStatisticsFloat64.variance(self)

Returns the variance of samples.

DescriptiveStatisticsFloat64.__add__(self, other)

DescriptiveStatisticsFloat64.__getstate__(self)

DescriptiveStatisticsFloat64.__iadd__(self, ...)

DescriptiveStatisticsFloat64.__setstate__(...)