class_docstr: Test behaviour of the learn_dynamic_structure of `from_numpy_dynamic`
class_docstr_tok: ["Test","behaviour","of","the","learn_dynamic_structure","of","`","from_numpy_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_p2):
      """
      Tabu edges must not be in the edges learnt
      """
      sm = from_numpy_dynamic(
          data_dynotears_p2["X"],
          data_dynotears_p2["Y"],
          tabu_edges=[(0, 2, 4), (0, 0, 3), (1, 1, 4), (1, 3, 4)],
      )
  
      assert ("2_lag0", "4_lag0") not in sm.edges
      assert ("0_lag0", "3_lag0") not in sm.edges
      assert ("1_lag1", "4_lag0") not in sm.edges
      assert ("3_lag1", "4_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 11 for calling the TestFromNumpyDynotears obj's underlying member method code with example usage: obj.test_tabu_edges(data_dynotears_p2) without return types