code: def get_data(nobs):
      cop_f = FrankCopula(theta=2)
      cd_f = CopulaDistribution(cop_f, [stats.norm, stats.norm])
      # np.random.seed(98645713)
      # at some seeds, parameters atol-differ from true
      # TODO: setting seed doesn't work for copula,
      # copula creates new randomly initialized random state, see #7650
      rng = np.random.RandomState(98645713)
      rvs = cd_f.rvs(nobs, random_state=rng)
      assert_allclose(rvs.mean(0), [-0.02936002, 0.06658304], atol=1e-7)
      return rvs
  
imports: import numpy
  from scipy import stats
  from numpy.testing import assert_allclose
  from statsmodels.base.model import GenericLikelihoodModel
  from statsmodels.distributions.copula.api import ClaytonCopula, GaussianCopula, FrankCopula, GumbelCopula, IndependenceCopula, CopulaDistribution
  from statsmodels.distributions.copula import depfunc_ev
  from statsmodels.distributions.copula.extreme_value import ExtremeValueCopula
label_desc: Use image node_id 1 for calling a global function with example usage: get_data(nobs) and returns: rvs