code: def test_repeat_dataframe():
      psr = pd.DataFrame({"a": [1, 1, 2, 2]})
      gsr = cudf.from_pandas(psr)
      repeats = np.random.randint(10, size=4)
  
      # pd.DataFrame doesn't have repeat() so as a workaround, we are
      # comparing pd.Series.repeat() with cudf.DataFrame.repeat()['a']
      assert_eq(psr["a"].repeat(repeats), gsr.repeat(repeats)["a"])
  
imports: import cupy
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf import Series
  from cudf.testing._utils import NUMERIC_TYPES, OTHER_TYPES, assert_eq
label_desc: Use image node_id 3 for calling a global function with example usage: test_repeat_dataframe() without return types