code: def append(self, i, j, v):
      m, n = self.shape
  
      if i >= m or j >= n:
          raise Exception("Index out of bounds")
  
      self.rows.append(i)
      self.cols.append(j)
      self.data.append(v)
  
imports: import array
  import numpy
  import scipy.sparse
  import sklearn.preprocessing
label_desc: Use image node_id 2 for calling the _IncrementalCOOMatrix obj's underlying member method code with example usage: obj.append(i, j, v) without return types