mean
Calculate the average of a target column.
The rolling mean is a simple moving average that calculates the average of a target variable. This function is widely used in financial analysis to smooth short-term fluctuations and highlight longer-term trends or cycles in time series data.
Parameters
- standard
data: ForwardRef('Data') | ForwardRef('DataFrame') | ForwardRef('Series') | ForwardRef('ndarray') | dict | list
target: str
Returns
results: list[Data]
Serializable results.
provider: str
Provider name.
warnings: Optional[list[Warning_]]
list of warnings.
chart: Optional[Chart]
Chart object.
extra: dict[str, Any]
Extra info.
Data
- standard