code: def execute(cls, ctx, op):
      import cudf
  
      out_df = op.outputs[0]
      if out_df.ndim == 2:
          ctx[out_df.key] = cudf.DataFrame.from_pandas(
              ctx[op.inputs[0].key]
          )
      else:
          ctx[out_df.key] = cudf.Series.from_pandas(
              ctx[op.inputs[0].key]
          )
  
imports: from ...None import opcodes
  from .core import DataFrameDeviceConversionBase
label_desc: Use image node_id 2 for calling the DataFrameToGPU obj's underlying member method code with example usage: obj.execute(cls, ctx, op) without return types