code: def reweight(self, data: object) -> object:
      """
      Get weights for data
  
      Parameters
      ----------
      data : object
          The input data.
          The first dimension is the index of samples
  
      Returns
      -------
      object:
          the weights info for the data
      """
      raise NotImplementedError(f"This type of input is not supported")
  
label_desc: Use image node_id 2 for calling the Reweighter obj's underlying member method code with example usage: obj.reweight(data) without return types