DatetimeMonthOfYearSinCos#

class DatetimeMonthOfYearSinCos(col, prefix='month_of_year')[source]#

Periodically transform the month of year. Return 2 column {prefix}_{col}_sin/cos

__init__(col, prefix='month_of_year')[source]#
Parameters:
  • col (str) – column name

  • prefix (str, optional) – return column prefix. Defaults to “month_of_year”.

Methods

__init__(col[, prefix])

from_config(config)

Create engine from config.

Attributes

engine_type