class_docstr: This encoder produces an encoded representation for timestamps.
  
  The approach consists on decomposing the timestamp objects into its constituent units (e.g. month, year, etc), and describing each of those with a single value that represents the magnitude in a sensible cycle length.
class_docstr_tok: ["This","encoder","produces","an","encoded","representation","for","timestamps",".","The","approach","consists","on","decomposing","the","timestamp","objects","into","its","constituent","units","(","e.g",".","month",",","year",",","etc",")",",","and","describing","each","of","those","with","a","single","value","that","represents","the","magnitude","in","a","sensible","cycle","length","."]
code: def prepare(self, priming_data):
      self.is_prepared = True
  
file_path: lightwood/lightwood/encoder/datetime/datetime.py
imports: from typing import Union
  import torch
  import numpy
  import pandas
  from lightwood.encoder.base import BaseEncoder
  from lightwood.helpers.log import log
label_desc: Use image node_id 2 for calling the DatetimeEncoder obj's underlying member method code with example usage: obj.prepare(priming_data) without return types