code: def test_disk_shuffle():
      try:
          from dask.dataframe.dispatch import (
              partd_encode_dispatch,
          )  # noqa: F401
      except ImportError:
          pytest.skip(
              "need a version of dask that has partd_encode_dispatch"
          )
      df = cudf.DataFrame({"a": [1, 2, 3] * 20, "b": [4, 5, 6, 7] * 15})
      ddf = dd.from_pandas(df, npartitions=4)
      got = dd.DataFrame.shuffle(ddf, "a", shuffle_method="disk")
      dd.assert_eq(got, df)
  
file_path: cudf/python/dask_cudf/dask_cudf/tests/test_sort.py
imports: import cupy
  import numpy
  import pytest
  import dask
  from dask import dataframe
  import cudf
  import dask_cudf
label_desc: Use image node_id 7 for calling a global function with example usage: test_disk_shuffle() without return types