code: def __init__(self, data, *args):
      num_samples = data.shape[0]
      self.weights = np.ones(num_samples)
      self.weights /= np.sum(self.weights)
      self.transposed = False
      self.groups = None
      self.group_names = None
      self.groups_size = data.shape[1]
      self.data = data
  
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 1 to create a new SparseData object from inherited base classes: Data with example: obj = SparseData(data)