code: def compute_code(self, data_series: ndarray):
      uniq_items = np.unique(data_series).tolist()
      id_to_item = {}
      item_to_id = {}
      for i in range(len(uniq_items)):
          item = str(uniq_items[i])
          item_to_id[item] = self.end_id
          id_to_item[self.end_id] = item
          self.end_id += 1
      self.id_to_item = id_to_item
      self.item_to_id = item_to_id
  
imports: import math
  from typing import Dict, List, Tuple
  import numpy
  from numpy import ndarray
  from sklearn.preprocessing import PowerTransformer, QuantileTransformer, RobustScaler
  from nemo.utils import logging
label_desc: Use image node_id 2 for calling the CategoryCode obj's underlying member method code with example usage: obj.compute_code(data_series) without return types