code: def _make_random_frame(nelem, npartitions=2, include_na=False):
      df = pd.DataFrame(
          {
              "x": np.random.random(size=nelem),
              "y": np.random.random(size=nelem),
          }
      )
  
      if include_na:
          df["x"][::2] = pd.NA
  
      gdf = cudf.DataFrame.from_pandas(df)
      dgf = dd.from_pandas(gdf, npartitions=npartitions)
      return df, dgf
  
imports: import numpy
  import pandas
  import dask.dataframe
  import cudf
label_desc: Use image node_id 1 for calling a global function with example usage: _make_random_frame(nelem, npartitions, include_na) and returns: df,  dgf