code: def setUp(self):
      self.d1 = pd.DataFrame(
          data={
              "A": [0, 0, 1],
              "B": [0, 1, 0],
              "C": [1, 1, 0],
              "D": ["X", "Y", "Z"],
          }
      )
      self.d2 = pd.DataFrame(
          data={
              "A": [0, np.NaN, 1],
              "B": [0, 1, 0],
              "C": [1, 1, np.NaN],
              "D": [np.NaN, "Y", np.NaN],
          }
      )
  
      self.titanic_data = pd.read_csv(
          "pgmpy/tests/test_estimators/testdata/titanic_train.csv"
      )
  
file_path: pgmpy/pgmpy/tests/test_estimators/test_BaseEstimator.py
imports: import unittest
  import numpy
  import pandas
  from pgmpy.estimators import BaseEstimator
label_desc: Use image node_id 1 for calling the TestBaseEstimator obj's underlying member method code with example usage: obj.setUp() without return types