class_docstr: Represents differences in time.
  
  Timedeltas can be defined in multiple units. Supported units:
  
  - "ms" : milliseconds
  - "s" : seconds
  - "h" : hours
  - "m" : minutes
  - "d" : days
  - "o"/"observations" : number of individual events
  - "mo" : months
  - "Y" : years
  
  Timedeltas can also be defined in terms of observations. In this case, the
  Timedelta represents the period spanned by `value`.
  
  For observation timedeltas:
  >>> three_observations_log = Timedelta(3, "observations")
  >>> three_observations_log.get_name()
  '3 Observations'
docstr: Args:
      value (float, str, dict) : Value of timedelta, string providing
          both unit and value, or a dictionary of units and times.
      unit (str) : Unit of time delta.
      delta_obj (pd.Timedelta or pd.DateOffset) : A time object used
          internally to do time operations. If None is provided, one will
          be created using the provided value and unit.
docstr_tok: ["Args",":","value","(","float",",","str",",","dict",")",":","Value","of","timedelta",",","string","providing","both","unit","and","value",",","or","a","dictionary","of","units","and","times",".","unit","(","str",")",":","Unit","of","time","delta",".","delta_obj","(","pd.Timedelta","or","pd.DateOffset",")",":","A","time","object","used","internally","to","do","time","operations",".","If","None","is","provided",",","one","will","be","created","using","the","provided","value","and","unit","."]
code: def __init__(self, value, unit=None, delta_obj=None):
      """
      Args:
          value (float, str, dict) : Value of timedelta, string providing
              both unit and value, or a dictionary of units and times.
          unit (str) : Unit of time delta.
          delta_obj (pd.Timedelta or pd.DateOffset) : A time object used
              internally to do time operations. If None is provided, one will
              be created using the provided value and unit.
      """
      self.check_value(value, unit)
      self.times = self.fix_units()
  
      if delta_obj is not None:
          self.delta_obj = delta_obj
      else:
          self.delta_obj = self.get_unit_type()
  
imports: import pandas
  from dateutil.relativedelta import relativedelta
label_desc: Use image node_id 1 to create a new Timedelta object from inherited base classes: object with example: obj = Timedelta(value, unit, delta_obj)