code: def test_repr(stream):
      df = cudf.DataFrame(
          {"x": (np.arange(10) // 2).astype(float), "y": [1.0] * 10}
      )
      a = DataFrame(example=df, stream=stream)
  
      text = repr(a)
      assert type(a).__name__ in text
      assert "x" in text
      assert "y" in text
  
      text = repr(a.x)
      assert type(a.x).__name__ in text
      assert "x" in text
  
      text = repr(a.x.sum())
      assert type(a.x.sum()).__name__ in text
  
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 17 for calling a global function with example usage: test_repr(stream) without return types