code: def get_indicator_representation(row):
      """Convert binary indicator to list of assigned labels
  
      Parameters:
      -----------
  
      row : List[{0,1}]
          binary indicator list whether i-th label is assigned or not
  
      Returns
      -------
      np.array[int]
          list of assigned labels
      """
      return np.where(row != 0)[0]
  
file_path: scikit-multilearn/skmultilearn/model_selection/measures.py
imports: import numpy
  import itertools
label_desc: Use image node_id 2 for calling a global function with example usage: get_indicator_representation(row) and returns: np