DatetimeDayOfYearSinCos#

class DatetimeDayOfYearSinCos(col, prefix='day_of_year')[source]#

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

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

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

Methods

__init__(col[, prefix])

from_config(config)

Create engine from config.

Attributes

engine_type