docstr: Resetting Do operator should re-introduce the original conditional dependencies
code: def test_reset_do_sets_probabilities_back_to_initial_state(
      self, train_model, train_data_idx, train_data_idx_marginals
  ):
      """Resetting Do operator should re-introduce the original conditional dependencies"""
  
      bn = BayesianNetwork(train_model)
      bn.fit_node_states(train_data_idx).fit_cpds(train_data_idx)
  
      ie = InferenceEngine(bn)
      ie.do_intervention("d", {0: 0.7, 1: 0.3})
      ie.reset_do("d")
  
      assert math.isclose(
          ie.query()["d"][0], train_data_idx_marginals["d"][0]
      )
      assert math.isclose(
          ie.query()["d"][1], train_data_idx_marginals["d"][1]
      )
  
imports: import math
  import pytest
  from causalnex.inference import InferenceEngine
  from causalnex.network import BayesianNetwork
  from causalnex.structure import StructureModel
  from causalnex.structure.notears import from_pandas
label_desc: Use image node_id 16 for calling the TestInferenceEngineIdx obj's underlying member method code with example usage: obj.test_reset_do_sets_probabilities_back_to_initial_state(train_model, train_data_idx, train_data_idx_marginals) without return types