code: def test_series_downsample_simple(ts_resolution):
      # Series with and index of 5min intervals:
  
      index = pd.date_range(start="2001-01-01", periods=10, freq="1T")
      psr = pd.Series(range(10), index=index)
      gsr = cudf.from_pandas(psr)
      gsr.index = gsr.index.astype(f"datetime64[{ts_resolution}]")
      assert_resample_results_equal(
          psr.resample("3T").sum(),
          gsr.resample("3T").sum(),
      )
  
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 2 for calling a global function with example usage: test_series_downsample_simple(ts_resolution) without return types