code: def _week_of_year(self):
      weekYear = (
          np.array(
              pd.Int64Index(self.dti.isocalendar().week),
              dtype=np.float32,
          )
          if version.parse(pd.__version__) >= version.parse("1.1.0")
          else np.array(self.dti.weekofyear, dtype=np.float32)
      )
      if self.normalized:
          weekYear = weekYear / 51.0 - 0.5
      return weekYear
  
file_path: BigDL/python/chronos/src/bigdl/chronos/model/tcmf/time.py
imports: import pandas
  import numpy
  from packaging import version
label_desc: Use image node_id 8 for calling the TimeCovariates obj's underlying member method code with example usage: obj._week_of_year() and returns: weekYear