etna.datasets.generate_ar_df#
- generate_ar_df(periods: int, start_time: Timestamp | int | str | None = None, ar_coef: list | None = None, sigma: float = 1, n_segments: int = 1, freq: str | None = 'D', random_seed: int = 1) DataFrame [source]#
Create DataFrame with AR process data.
- Parameters:
- Raises:
ValueError: – Incorrect type of
start_time
is used according tofreq
- Return type: