class_docstr: Test behaviour of the from_pandas method
docstr: Any edge related to tabu edges/parent nodes/child nodes should not exist in the network
docstr_tok: ["Any","edge","related","to","tabu","edges\/parent","nodes\/child","nodes","should","not","exist","in","the","network"]
code: def test_multiple_tabu(self, train_data_idx):
      """Any edge related to tabu edges/parent nodes/child nodes should not exist in the network"""
  
      tabu_e = [("d", "a"), ("b", "c")]
      tabu_p = ["b"]
      tabu_c = ["a", "d"]
      g = from_pandas(
          train_data_idx,
          tabu_edges=tabu_e,
          tabu_parent_nodes=tabu_p,
          tabu_child_nodes=tabu_c,
      )
      assert [e not in g.edges for e in tabu_e]
      assert [p not in [e[0] for e in g.edges] for p in tabu_p]
      assert [c not in [e[1] for e in g.edges] for c in tabu_c]
  
imports: import logging
  import networkx
  import numpy
  import pandas
  import pytest
  import scipy.optimize
  from mock import patch
  from causalnex.structure import StructureModel
  from causalnex.structure.data_generators import generate_binary_data, generate_binary_dataframe, generate_continuous_dataframe, generate_count_dataframe, generate_structure
  from causalnex.structure.pytorch.notears import from_numpy, from_pandas
label_desc: Use image node_id 13 for calling the TestFromPandas obj's underlying member method code with example usage: obj.test_multiple_tabu(train_data_idx) without return types