kumoai.encoder.Datetime#
- class kumoai.encoder.Datetime[source]#
Bases:
Encoder
A
Datetime
encoder encodes a date or time value, representing it with various user-specified granularities.- __init__(include_minute=True, include_hour=True, include_day_of_week=True, include_day_of_month=True, include_day_of_year=True, include_year=True, num_year_periods=None, na_strategy=NAStrategy.ZERO, name='Datetime', _stats=<factory>, _target_='kumo.encoder.temporal.Datetime')#