code: def test_save_and_load_with_add_and_compute(self, tmpdir, adult_data):
      (
          train_df,
          test_df,
          categorical_cols,
          target_col,
          classes,
      ) = adult_data
      task_type = TaskType.CLASSIFICATION
  
      saved = DataBalanceManager(
          train=train_df,
          test=test_df,
          target_column=target_col,
          classes=classes,
          task_type=task_type,
      )
      saved.add(cols_of_interest=categorical_cols)
      saved.compute()
  
      save_dir = tmpdir.mkdir("save-dir")
      saved._save(save_dir)
  
      rai_insights = RAIInsights(
          model=None,
          train=train_df,
          test=test_df,
          target_column=target_col,
          task_type="classification",
          categorical_features=categorical_cols,
      )
      loaded = saved._load(save_dir, rai_insights)
  
      assert saved._target_column == loaded._target_column == target_col
      assert (
          saved._classes == loaded._classes == list(map(str, classes))
      )
      assert saved._task_type == loaded._task_type == task_type
      assert_frame_equal(saved._train, loaded._train)
      assert_frame_equal(saved._test, loaded._test)
      assert saved._is_added is loaded._is_added is True
      assert_frame_equal(saved._df, loaded._df)
  
      assert saved._cols_of_interest == loaded._cols_of_interest
  
      assert (
          saved._data_balance_measures == loaded._data_balance_measures
      )
  
imports: import pandas
  import pytest
  from pandas.testing import assert_frame_equal
  from responsibleai._interfaces import TaskType
  from responsibleai.databalanceanalysis.data_balance_utils import AGGREGATE_BALANCE_MEASURES_KEY, DISTRIBUTION_BALANCE_MEASURES_KEY, FEATURE_BALANCE_MEASURES_KEY
  from responsibleai.managers.data_balance_manager import DataBalanceManager
  from responsibleai.rai_insights.rai_insights import RAIInsights
label_desc: Use image node_id 14 for calling the TestDataBalanceManager obj's underlying member method code with example usage: obj.test_save_and_load_with_add_and_compute(tmpdir, adult_data) without return types