_prepare_seasonal_plot_df

_prepare_seasonal_plot_df(ts: TSDataset, freq: str, cycle: Union[Literal['hour'], Literal['day'], Literal['week'], Literal['month'], Literal['quarter'], Literal['year'], int], alignment: Union[Literal['first'], Literal['last']], aggregation: Union[Literal['sum'], Literal['mean']], in_column: str, segments: List[str])[source]
Parameters
  • ts (TSDataset) –

  • freq (str) –

  • cycle (Union[Literal['hour'], typing.Literal['day'], typing.Literal['week'], typing.Literal['month'], typing.Literal['quarter'], typing.Literal['year'], int]) –

  • alignment (Union[Literal['first'], typing.Literal['last']]) –

  • aggregation (Union[Literal['sum'], typing.Literal['mean']]) –

  • in_column (str) –

  • segments (List[str]) –