code: def test_head():
      np.random.seed(0)
      df = pd.DataFrame(
          {
              "x": np.random.randint(0, 5, size=100),
              "y": np.random.normal(size=100),
          }
      )
      gdf = cudf.DataFrame.from_pandas(df)
      dgf = dd.from_pandas(gdf, npartitions=2)
  
      dd.assert_eq(dgf.head(), df.head())
  
imports: import random
  import cupy
  import numpy
  import pandas
  import pytest
  from packaging import version
  import dask
  from dask import dataframe
  from dask.dataframe.core import make_meta, meta_nonempty
  from dask.utils import M
  import cudf
  import dask_cudf
label_desc: Use image node_id 10 for calling a global function with example usage: test_head() without return types