code: def to_dask_cudf(futures, client=None):
      """
      Convert a list of futures containing cudf Dataframes into a Dask.Dataframe
      :param futures: list[cudf.Dataframe] list of futures containing dataframes
      :param client: dask.distributed.Client Optional client to use
      :return: dask.Dataframe a dask.Dataframe
      """
      c = default_client() if client is None else client
      # Convert a list of futures containing dfs back into a dask_cudf
      dfs = [d for d in futures if d.type != type(None)]  # NOQA
      if logger.should_log_for(logger.level_debug):
          logger.debug("to_dask_cudf dfs=%s" % str(dfs))
      meta = c.submit(get_meta, dfs[0])
      meta_local = meta.result()
      return dd.from_delayed(dfs, meta=meta_local)
  
imports: import cuml.internals.logger
  import dask.dataframe
  from dask.distributed import default_client
label_desc: Use image node_id 2 for calling a global function with example usage: to_dask_cudf(futures, client) and returns: dd