code: def _init_data(self, data):
      if ivy.is_ivy_sparse_array(data):
          self._data = data.data
          self._coo_indices = data.coo_indices
          self._crow_indices = data.crow_indices
          self._col_indices = data.col_indices
          self._ccol_indices = data.ccol_indices
          self._row_indices = data.row_indices
          self._values = data.values
          self._dense_shape = data.dense_shape
          self._format = data.format.lower()
      else:
          ivy.utils.assertions.check_true(
              ivy.is_native_sparse_array(data),
              message="not a native sparse array",
          )
          self._data = data
          self._native_sparse_array_to_indices_values_and_shape()
  
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 2 for calling the SparseArray obj's underlying member method code with example usage: obj._init_data(data) without return types