code: def test_dataframe_resample_on():
      # test resampling on a specified column
      pdf = pd.DataFrame(
          {
              "x": np.random.randn(1000),
              "y": pd.date_range("1/1/2012", freq="S", periods=1000),
          }
      )
      gdf = cudf.from_pandas(pdf)
      assert_resample_results_equal(
          pdf.resample("3T", on="y").mean(),
          gdf.resample("3T", on="y").mean(),
      )
  
file_path: cudf/python/cudf/cudf/tests/test_resampling.py
imports: import numpy
  import pandas
  import pytest
  import cudf
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 9 for calling a global function with example usage: test_dataframe_resample_on() without return types