Skip to main content

expanding_mean

Compute the expanding_mean of the input array. Parameters:
NameTypeDescriptionDefault
xnp.ndarrayInput array.required
skipnaboolIf True, exclude NaN values from calculations. When False (default), any NaN value causes the result to be NaN, maintaining backwards compatibility. When True, NaN values are ignored (matching pandas default behavior).required
Returns:
TypeDescription
np.ndarray: Array with the expanding statistic
Examples:

expanding_std

Compute the expanding_std of the input array. Parameters:
NameTypeDescriptionDefault
xnp.ndarrayInput array.required
skipnaboolIf True, exclude NaN values from calculations. When False (default), any NaN value causes the result to be NaN, maintaining backwards compatibility. When True, NaN values are ignored (matching pandas default behavior).required
Returns:
TypeDescription
np.ndarray: Array with the expanding statistic
Examples:

expanding_min

Compute the expanding_min of the input array. Parameters:
NameTypeDescriptionDefault
xnp.ndarrayInput array.required
skipnaboolIf True, exclude NaN values from calculations. When False (default), any NaN value causes the result to be NaN, maintaining backwards compatibility. When True, NaN values are ignored (matching pandas default behavior).required
Returns:
TypeDescription
np.ndarray: Array with the expanding statistic
Examples:

expanding_max

Compute the expanding_max of the input array. Parameters:
NameTypeDescriptionDefault
xnp.ndarrayInput array.required
skipnaboolIf True, exclude NaN values from calculations. When False (default), any NaN value causes the result to be NaN, maintaining backwards compatibility. When True, NaN values are ignored (matching pandas default behavior).required
Returns:
TypeDescription
np.ndarray: Array with the expanding statistic
Examples:

expanding_quantile

Compute the expanding_quantile of the input array. Parameters:
NameTypeDescriptionDefault
xndarrayInput array.required
pfloatQuantile to compute.required
skipnaboolIf True, exclude NaN values from calculations. When False (default), any NaN value causes the result to be NaN, maintaining backwards compatibility. When True, NaN values are ignored (matching pandas default behavior).False
Returns:
TypeDescription
ndarraynp.ndarray: Array with the expanding statistic
Examples: