code: def test_timedelta_dataframe_ops(df, op):
      pdf = df
      gdf = cudf.from_pandas(pdf)
  
      if op == "add":
          pdf["C"] = pdf["A"] + pdf["B"]
          gdf["C"] = gdf["A"] + gdf["B"]
      elif op == "sub":
          pdf["C"] = pdf["A"] - pdf["B"]
          gdf["C"] = gdf["A"] - gdf["B"]
  
      assert_eq(pdf, gdf)
  
imports: import datetime
  import operator
  import cupy
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf.testing import _utils
  from cudf.testing._utils import assert_eq, assert_exceptions_equal
label_desc: Use image node_id 9 for calling a global function with example usage: test_timedelta_dataframe_ops(df, op) without return types