class_docstr: Test behaviour of the learn_dynamic_structure of `from_pandas_dynamic`
class_docstr_tok: ["Test","behaviour","of","the","learn_dynamic_structure","of","`","from_pandas_dynamic","`"]
docstr: Tabu edges must not be in the edges learnt
docstr_tok: ["Tabu","edges","must","not","be","in","the","edges","learnt"]
code: def test_tabu_edges(self, data_dynotears_p3):
      """
      Tabu edges must not be in the edges learnt
      """
      sm = from_pandas_dynamic(
          pd.DataFrame(
              data_dynotears_p3["X"], columns=["a", "b", "c", "d", "e"]
          ),
          p=3,
          tabu_edges=[
              (0, "c", "e"),
              (0, "a", "d"),
              (1, "b", "e"),
              (1, "d", "e"),
          ],
      )
  
      assert ("c_lag0", "e_lag0") not in sm.edges
      assert ("a_lag0", "d_lag0") not in sm.edges
      assert ("b_lag1", "e_lag0") not in sm.edges
      assert ("d_lag1", "e_lag0") not in sm.edges
  
imports: import re
  import networkx
  import numpy
  import pandas
  import pytest
  from causalnex.structure.dynotears import from_numpy_dynamic, from_pandas_dynamic
label_desc: Use image node_id 9 for calling the TestFromPandasDynotears obj's underlying member method code with example usage: obj.test_tabu_edges(data_dynotears_p3) without return types