code: def __init__(
      self,
      data=None,
      *,
      coo_indices=None,
      crow_indices=None,
      col_indices=None,
      ccol_indices=None,
      row_indices=None,
      values=None,
      dense_shape=None,
      format=None,
  ):
      if _is_data_not_indices_values_and_shape(
          data,
          coo_indices,
          crow_indices,
          col_indices,
          ccol_indices,
          row_indices,
          values,
          dense_shape,
      ):
          self._init_data(data)
      elif _is_valid_format(
          coo_indices,
          crow_indices,
          col_indices,
          ccol_indices,
          row_indices,
          values,
          dense_shape,
          format=format,
      ):
          format = format.lower()
  
          if format == "coo":
              self._init_coo_components(
                  coo_indices, values, dense_shape, format
              )
          elif format in ["csr", "bsr"]:
              self._init_compressed_row_components(
                  crow_indices, col_indices, values, dense_shape, format
              )
          else:
              print(format)
              self._init_compressed_column_components(
                  ccol_indices, row_indices, values, dense_shape, format
              )
  
      else:
          print(
              format,
              ccol_indices,
              row_indices,
              values,
              dense_shape,
              crow_indices,
              col_indices,
              values,
          )
  
          raise ivy.utils.exceptions.IvyException(
              "specify all coo components (coo_indices, values and "
              " dense_shape), all csr components (crow_indices, "
              "col_indices, values and dense_shape), all csc components "
              "(ccol_indices, row_indices, values and dense_shape). all "
              "bsc components (ccol_indices, row_indices, values and "
              "dense_shape), or all bsr components (crow_indices, "
              "col_indices, values and dense_shape)."
          )
  
      # initialize parent class
      super().__init__(self)
  
imports: import ivy
  from ivy.func_wrapper import inputs_to_native_arrays
  from ivy.utils.exceptions import handle_exceptions
label_desc: Use image node_id 1 to create a new SparseArray object from inherited base classes: ivy with example: obj = SparseArray(data)