code: def test_series_reduce(reducer):
      reducer = _get_reduce_fn(reducer)
      np.random.seed(0)
      size = 10
      df, gdf = _make_random_frame(size)
  
      got = reducer(gdf.x)
      exp = reducer(df.x)
      dd.assert_eq(got, exp)
  
file_path: cudf/python/dask_cudf/dask_cudf/tests/test_reductions.py
imports: import numpy
  import pandas
  import pytest
  from dask import dataframe
  import cudf
  import dask_cudf
label_desc: Use image node_id 3 for calling a global function with example usage: test_series_reduce(reducer) without return types