Stats Methods |
The Stats type exposes the following members.
Name | Description | |
---|---|---|
countR, C(FrameR, C) |
For each column, returns the number of the values in the column.
This excludes missing values and values created from `Double.NaN` etc.
[category:Frame statistics]
| |
countK, V(SeriesK, V) |
Returns the number of the values in a series. This excludes missing values
and values created from `Double.NaN` etc.
[category:Series statistics]
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
expandingCountK |
Returns a series that contains counts over expanding windows (the value for
a given key is calculated from all elements with smaller keys).
[category:Expanding windows]
| |
expandingKurtK |
Returns a series that contains kurtosis over expanding windows (the value for
a given key is calculated from all elements with smaller keys); If the
entire window contains fewer than 4 values, the result is missing.
[category:Expanding windows]
| |
expandingMaxK |
Returns a series that contains maximum over an expanding window. The value
for a key _k_ in the returned series is the maximum from all elements with
smaller keys.
[category:Expanding windows]
| |
expandingMeanK |
Returns a series that contains means over expanding windows (the value for
a given key is calculated from all elements with smaller keys); If the
entire window contains no values, the result is missing.
[category:Expanding windows]
| |
expandingMinK |
Returns a series that contains minimum over an expanding window. The value
for a key _k_ in the returned series is the minimum from all elements with
smaller keys.
[category:Expanding windows]
| |
expandingSkewK |
Returns a series that contains skewness over expanding windows (the value for
a given key is calculated from all elements with smaller keys); If the
entire window contains fewer than 3 values, the result is missing.
[category:Expanding windows]
| |
expandingStdDevK |
Returns a series that contains standard deviation over expanding windows (the
value for a given key is calculated from all elements with smaller keys); If the
entire window contains fewer than 2 values, the result is missing.
[category:Expanding windows]
| |
expandingSumK |
Returns a series that contains sums over expanding windows (the value for
a given key is calculated from all elements with smaller keys); If the
entire window contains no values, the result is 0.
[category:Expanding windows]
| |
expandingVarianceK |
Returns a series that contains variance over expanding windows (the value for
a given key is calculated from all elements with smaller keys); If the
entire window contains fewer than 2 values, the result is missing.
[category:Expanding windows]
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
interpolateK, T |
Interpolates an ordered series given a new sequence of keys. The function iterates through
each new key, and invokes a function on the current key, the nearest smaller and larger valid
observations from the series argument. The function must return a new valid float.
## Parameters
- `keys` - Sequence of new keys that forms the index of interpolated results
- `f` - Function to do the interpolating
[category:Series interoploation]
| |
interpolateLinearK |
Linearly interpolates an ordered series given a new sequence of keys.
## Parameters
- `keys` - Sequence of new keys that forms the index of interpolated results
- `keyDiff` - A function representing "subtraction" between two keys
[category:Series interoploation]
| |
kurtK(SeriesK, Double) |
Returns the kurtosis of the values in a series. The function skips over missing
values and `NaN` values. When there are less than 4 values, the result is NaN.
[category:Series statistics]
| |
kurtR, C(FrameR, C) |
For each numerical column, returns the kurtosis of the values in a series.
The function skips over missing values and `NaN` values. When there are less than 4 values,
the result is NaN.
[category:Frame statistics]
| |
levelCountK, L, V |
For each group with equal keys at the level specified by `level`,
returns the number of the values in the group. This excludes missing
values and values created from `Double.NaN` etc.
[category:Multi-level statistics]
| |
levelKurtK, L |
For each group with equal keys at the level specified by `level`,
returns the kurtosis of the values in a series. The function skips over missing values
and `NaN` values. When there are less than 4 values, the result is NaN.
[category:Multi-level statistics]
| |
levelMeanK, L |
For each group with equal keys at the level specified by `level`,
returns the mean of the values in the group. The function skips over missing
values and `NaN` values. When there are no available values, the result is NaN.
[category:Multi-level statistics]
| |
levelMedianK, L |
For each group with equal keys at the level specified by `level`,
returns the median of the values in the group.
[category:Multi-level statistics]
| |
levelSkewK, L |
For each group with equal keys at the level specified by `level`,
returns the skewness of the values in a series. The function skips over missing
values and `NaN` values. When there are less than 3 values, the result is NaN.
[category:Multi-level statistics]
| |
levelStdDevK, L |
For each group with equal keys at the level specified by `level`,
returns the standard deviation of the values in the group. The function skips over
missing values and `NaN` values. When there are less than 2 values, the result is NaN.
[category:Multi-level statistics]
| |
levelSumK, L |
For each group with equal keys at the level specified by `level`,
returns the sum of the values in the group. The function skips over missing values
and `NaN` values. When there are no available values, the result is 0.
[category:Multi-level statistics]
| |
levelVarianceK, L |
For each group with equal keys at the level specified by `level`,
returns the variance of the values in the group. The function skips over missing
values and `NaN` values. When there are less than 2 values, the result is NaN.
[category:Multi-level statistics]
| |
maxR, C(FrameR, C) |
For each numerical column, returns the maximal values as a series.
The function skips over missing and `NaN` values. When there are no values,
the result is `NaN`.
[category:Frame statistics]
| |
maxK, V(SeriesK, V) |
Returns the maximum of the values in a series. The result is an option value.
When the series contains no values, the result is `None`.
[category:Series statistics]
| |
maxByT, a, K |
Returns the key and value of the greatest element in the series. The result
is an optional value. When the series contains no values, the result is `None`.
[category:Series statistics]
| |
meanK(SeriesK, Double) |
Returns the mean of the values in a series. The function skips over missing values
and `NaN` values. When there are no available values, the result is NaN.
[category:Series statistics]
| |
meanR, C(FrameR, C) |
For each numerical column, returns the mean of the values in the column.
The function skips over missing values and `NaN` values. When there are
no available values, the result is NaN.
[category:Frame statistics]
| |
medianK(SeriesK, Double) |
Returns the median of the elements of the series.
[category:Series statistics]
| |
medianR, C(FrameR, C) |
For each numerical column, returns the median of the values in the column.
[category:Frame statistics]
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
minR, C(FrameR, C) |
For each numerical column, returns the minimal values as a series.
The function skips over missing and `NaN` values. When there are no values,
the result is `NaN`.
[category:Frame statistics]
| |
minK, V(SeriesK, V) |
Returns the minimum of the values in a series. The result is an option value.
When the series contains no values, the result is `None`.
[category:Series statistics]
| |
minByT, a, K |
Returns the key and value of the least element in the series. The result
is an optional value. When the series contains no values, the result is `None`.
[category:Series statistics]
| |
movingCountK |
Returns a series that contains counts over a moving window of the specified size.
The first `size-1` elements of the returned series are always missing; if the
entire window contains missing values, the result is 0.
[category:Moving windows]
| |
movingKurtK |
Returns a series that contains kurtosis over a moving window of the specified size.
The first `size-1` elements of the returned series are always missing; if the
entire window contains missing values, the result is also missing.
[category:Moving windows]
| |
movingMaxK |
Returns a series that contains maximum over a moving window of the specified size.
The first `size-1` elements are calculated using smaller windows spanning over `1 .. size-1`
values. If the entire window contains missing values, the result is missing.
[category:Moving windows]
| |
movingMeanK |
Returns a series that contains means over a moving window of the specified size.
The first `size-1` elements of the returned series are always missing; if the
entire window contains missing values, the result is also missing.
[category:Moving windows]
| |
movingMinK |
Returns a series that contains minimum over a moving window of the specified size.
The first `size-1` elements are calculated using smaller windows spanning over `1 .. size-1`
values. If the entire window contains missing values, the result is missing.
[category:Moving windows]
| |
movingSkewK |
Returns a series that contains skewness over a moving window of the specified size.
The first `size-1` elements of the returned series are always missing; if the
entire window contains missing values, the result is also missing.
[category:Moving windows]
| |
movingStdDevK |
Returns a series that contains standard deviations over a moving window of the specified size.
The first `size-1` elements of the returned series are always missing; if the
entire window contains missing values, the result is also missing.
[category:Moving windows]
| |
movingSumK |
Returns a series that contains sums over a moving window of the specified size.
The first `size-1` elements of the returned series are always missing; if the
entire window contains missing values, the result is 0.
[category:Moving windows]
| |
movingVarianceK |
Returns a series that contains variance over a moving window of the specified size.
The first `size-1` elements of the returned series are always missing; if the
entire window contains missing values, the result is also missing.
[category:Moving windows]
| |
numSumK, V |
Sum that operates only any appropriate numeric type. When there are no available
values, the result is zero of the approriate numeric type.
[category:Series statistics]
| |
skewK(SeriesK, Double) |
Returns the skewness of the values in a series. The function skips over missing
values and `NaN` values. When there are less than 3 values, the result is NaN.
[category:Series statistics]
| |
skewR, C(FrameR, C) |
For each numerical column, returns the skewness of the values in a series.
The function skips over missing values and `NaN` values. When there are less than 3 values,
the result is NaN.
[category:Frame statistics]
| |
stdDevK(SeriesK, Double) |
Returns the standard deviation of the values in a series. The function skips over
missing values and `NaN` values. When there are less than 2 values, the result is NaN.
[category:Series statistics]
| |
stdDevR, C(FrameR, C) |
For each numerical column, returns the standard deviation of the values in the column.
The function skips over missing values and `NaN` values. When there are less than 2 values,
the result is NaN.
[category:Frame statistics]
| |
sumK(SeriesK, Double) |
Returns the sum of the values in a series. The function skips over missing values
and `NaN` values. When there are no available values, the result is NaN.
[category:Series statistics]
| |
sumR, C(FrameR, C) |
For each numerical column, returns the sum of the values in the column.
The function skips over missing values and `NaN` values. When there are no
[category:Frame statistics]
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
varianceK(SeriesK, Double) |
Returns the variance of the values in a series. The function skips over missing values
and `NaN` values. When there are less than 2 values, the result is NaN.
[category:Series statistics]
| |
varianceR, C(FrameR, C) |
For each numerical column, returns the variance of the values in the column.
The function skips over missing values and `NaN` values. When there are less
than 2 values, the result is NaN.
[category:Frame statistics]
|