_get_seasonal_in_cycle_name

_get_seasonal_in_cycle_name(timestamp: pandas.core.series.Series, in_cycle_num: pandas.core.series.Series, cycle: Union[Literal['hour'], Literal['day'], Literal['week'], Literal['month'], Literal['quarter'], Literal['year'], int], freq: str) pandas.core.series.Series[source]

Get unique name for each point within the cycle in a series of timestamps.

Parameters
  • timestamp (pandas.core.series.Series) –

  • in_cycle_num (pandas.core.series.Series) –

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

  • freq (str) –

Return type

pandas.core.series.Series