code: def test_groupby_with_list_of_series():
      df = cudf.DataFrame({"a": [1, 2, 3, 4, 5]})
      gdf = dask_cudf.from_cudf(df, npartitions=2)
      gs = cudf.Series([1, 1, 1, 2, 2], name="id")
      ggs = dask_cudf.from_cudf(gs, npartitions=2)
  
      ddf = dd.from_pandas(df.to_pandas(), npartitions=2)
      pgs = dd.from_pandas(gs.to_pandas(), npartitions=2)
  
      dd.assert_eq(
          gdf.groupby([ggs]).agg(["sum"]),
          ddf.groupby([pgs]).agg(["sum"]),
      )
  
imports: import numpy
  import pandas
  import pytest
  import dask
  from dask import dataframe
  from dask.utils_test import hlg_layer
  import cudf
  import dask_cudf
  from dask_cudf.groupby import OPTIMIZED_AGGS, _aggs_optimized
label_desc: Use image node_id 27 for calling a global function with example usage: test_groupby_with_list_of_series() without return types