class_docstr: Test behaviour of the from_pandas method
docstr: Tabu edges should not exist in the network
docstr_tok: ["Tabu","edges","should","not","exist","in","the","network"]
code: def test_tabu_expected_edges(self, train_data_idx):
      """Tabu edges should not exist in the network"""
  
      tabu_e = [("d", "a"), ("b", "c")]
      g = from_pandas(train_data_idx, tabu_edges=tabu_e)
      assert [e not in g.edges for e in tabu_e]
  
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 10 for calling the TestFromPandas obj's underlying member method code with example usage: obj.test_tabu_expected_edges(train_data_idx) without return types