code: def _fragmented_gdf(df, nsplit):
      n = len(df)
  
      # Split dataframe in *nsplit*
      subdivsize = n // nsplit
      starts = [i * subdivsize for i in range(nsplit)]
      ends = starts[1:] + [None]
      frags = [df[s:e] for s, e in zip(starts, ends)]
      return frags
  
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 7 for calling a global function with example usage: _fragmented_gdf(df, nsplit) and returns: frags