class_docstr: Day of year encoded as value between [-0.5, 0.5]
class_docstr_tok: ["Day","of","year","encoded","as","value","between","[","-0.5",",","0.5","]"]
code: def __call__(self, index: pd.DatetimeIndex) -> np.ndarray:
      return (index.dayofyear - 1) / 365.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 DayOfYear obj's underlying member method code with example usage: obj.__call__(index) and returns: unknown