code: def __prepare_test_data():
      cols = list("AB")
      df_train = pd.DataFrame(
          (np.arange(100))[:, None].repeat([len(cols)], axis=1),
          columns=cols,
      )
      df_test = pd.DataFrame(
          (np.arange(200))[:, None].repeat([len(cols)], axis=1),
          columns=cols,
      )
      for df in [df_train, df_test]:
          df["A"] = (df["A"] % 4).replace(2, np.NaN)
      s = {
          "missing_statistics": {
              "train_data": {
                  "data": df_train,
              },
              "test_data": {
                  "data": df_test,
              },
          }
      }
      state = AnalysisState(s)
      return state
  
file_path: autogluon/eda/tests/unittests/visualization/test_missing.py
imports: from unittest.mock import MagicMock, call
  import missingno
  import numpy
  import pandas
  import pytest
  from autogluon.eda import AnalysisState
  from autogluon.eda.visualization import MissingValues
label_desc: Use image node_id 5 for calling a global function with example usage: __prepare_test_data() and returns: state