code: def from_dask_dataframe(df):
      """
      Convert a Dask :class:`dask.dataframe.DataFrame` to a Dask-cuDF
      one.
  
      Parameters
      ----------
      df : dask.dataframe.DataFrame
          The Dask dataframe to convert
  
      Returns
      -------
      dask_cudf.DataFrame : A new Dask collection backed by cuDF objects
      """
      return df.map_partitions(cudf.from_pandas)
  
imports: import math
  import textwrap
  import warnings
  import numpy
  import pandas
  from tlz import partition_all
  from dask import dataframe
  from dask.base import normalize_token, tokenize
  from dask.dataframe.core import Scalar, handle_out, make_meta, map_partitions
  from dask.dataframe.utils import raise_on_meta_error
  from dask.highlevelgraph import HighLevelGraph
  from dask.utils import M, OperatorMethodMixin, apply, derived_from, funcname
  import cudf
  from cudf import _lib
  from cudf.utils.nvtx_annotation import _dask_cudf_nvtx_annotate
  from dask_cudf import sorting
  from dask_cudf.accessors import ListMethods, StructMethods
  from dask_cudf.sorting import _deprecate_shuffle_kwarg, _get_shuffle_method
label_desc: Use image node_id 12 for calling a global function with example usage: from_dask_dataframe(df) and returns: df