DatetimeDayOfWeekSinCos#
- class DatetimeDayOfWeekSinCos(col, prefix='day_of_week')[source]#
Periodically transforms the day of week. Return 2 column {prefix}_{col}_sin/cos
- __init__(col, prefix='day_of_week')[source]#
- Parameters:
col (str) – column name
prefix (str, optional) – return column prefix. Defaults to “day_of_week”.
Methods
__init__(col[, prefix])from_config(config)Create engine from config.
Attributes
engine_type