docstr: Tests equivalence of dataframe wrapper
docstr_tok: ["Tests","equivalence","of","dataframe","wrapper"]
code: def test_dataframe(
      self, graph, distribution, noise_std, intercept, seed, kernel
  ):
      """
      Tests equivalence of dataframe wrapper
      """
      data = generate_continuous_data(
          graph,
          1000,
          distribution,
          noise_scale=noise_std,
          seed=seed,
          intercept=intercept,
          kernel=kernel,
      )
      df = generate_continuous_dataframe(
          graph,
          1000,
          distribution,
          noise_scale=noise_std,
          seed=seed,
          intercept=intercept,
          kernel=kernel,
      )
  
      assert np.array_equal(data, df[list(graph.nodes())].values)
  
imports: import re
  import string
  from itertools import product
  import numpy
  import pandas
  import pytest
  from scipy import stats
  from sklearn.gaussian_process.kernels import RBF
  from causalnex.structure import StructureModel
  from causalnex.structure.data_generators import gen_stationary_dyn_net_and_df, generate_binary_data, generate_binary_dataframe, generate_categorical_dataframe, generate_continuous_data, generate_continuous_dataframe, generate_count_dataframe, generate_dataframe_dynamic, generate_structure, generate_structure_dynamic
  from tests.structure.data_generators.test_core import calculate_proba
label_desc: Use image node_id 12 for calling the TestGenerateContinuousData obj's underlying member method code with example usage: obj.test_dataframe(graph, distribution, noise_std, intercept, seed, kernel) without return types