code: def _extract_meta(x):
      """
      Extract internal cache data (``_meta``) from dask_cudf objects
      """
      if isinstance(x, (Scalar, _Frame)):
          return x._meta
      elif isinstance(x, list):
          return [_extract_meta(_x) for _x in x]
      elif isinstance(x, tuple):
          return tuple(_extract_meta(_x) for _x in x)
      elif isinstance(x, dict):
          return {k: _extract_meta(v) for k, v in x.items()}
      return x
  
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 7 for calling a global function with example usage: _extract_meta(x) and returns: x, x, unknown, tuple, unknown