class_docstr: Hour of day encoded as value between [-0.5, 0.5]
class_docstr_tok: ["Hour","of","day","encoded","as","value","between","[","-0.5",",","0.5","]"]
code: def __call__(self, index: pd.DatetimeIndex) -> np.ndarray:
      return index.hour / 23.0 - 0.5
  
imports: from typing import List
  import numpy
  import pandas
  from pandas.tseries import offsets
  from pandas.tseries.frequencies import to_offset
label_desc: Use image node_id 1 for calling the HourOfDay obj's underlying member method code with example usage: obj.__call__(index) and returns: unknown