code: def test_cumulative_aggregations(op, getter, stream):
      df = cudf.DataFrame({"x": list(range(10)), "y": [1] * 10})
      expected = getattr(getter(df), op)()
  
      sdf = DataFrame(example=df, stream=stream)
  
      L = getattr(getter(sdf), op)().stream.gather().sink_to_list()
  
      for i in range(0, 10, 3):
          sdf.emit(df.iloc[i : i + 3])
      sdf.emit(df.iloc[:0])
  
      assert len(L) > 1
  
      assert_eq(cudf.concat(L), expected)
  
imports: import json
  import operator
  import numpy
  import pandas
  import pytest
  from dask.dataframe.utils import assert_eq
  from distributed import Client
  from streamz import Stream
  from streamz.dask import DaskStream
  from streamz.dataframe import Aggregation, DataFrame, DataFrames, Series
label_desc: Use image node_id 25 for calling a global function with example usage: test_cumulative_aggregations(op, getter, stream) without return types