code: def day_of_year(index: pd.DatetimeIndex) -> np.ndarray:
      return _normalize(index.dayofyear - 1, num=366)
  
file_path: autogluon/timeseries/src/autogluon/timeseries/utils/datetime/time_features.py
imports: from typing import Callable, List
  import numpy
  import pandas
  from .base import norm_freq_str
label_desc: Use image node_id 6 for calling a global function with example usage: day_of_year(index) and returns: _normalize