code: def convert_to_instance_with_index(
      val, column_name, index_value, index_name
  ):
      return InstanceWithIndex(
          val, column_name, index_value, index_name, None
      )
  
imports: import copy
  import numpy
  import pandas
  import scipy.sparse
  from sklearn.cluster import KMeans
  from sklearn.impute import SimpleImputer
label_desc: Use image node_id 3 for calling a global function with example usage: convert_to_instance_with_index(val, column_name, index_value, index_name) and returns: InstanceWithIndex