_get_seasonal_cycle_name¶
- _get_seasonal_cycle_name(timestamp: pandas.core.series.Series, cycle: Union[Literal['hour'], Literal['day'], Literal['week'], Literal['month'], Literal['quarter'], Literal['year'], int]) pandas.core.series.Series [source]¶
Get unique name for each cycle in a series with timestamps.
- Parameters
timestamp (pandas.core.series.Series) –
cycle (Union[Literal['hour'], typing.Literal['day'], typing.Literal['week'], typing.Literal['month'], typing.Literal['quarter'], typing.Literal['year'], int]) –
- Return type
pandas.core.series.Series