code: def test_get_dataframe_package_cudf():
      cudf = pytest.importorskip("cudf")
      df = cudf.DataFrame(
          {"x": np.arange(10, dtype=float), "y": [1.0, 2.0] * 5}
      )
      assert cudf == get_dataframe_package(df)
      assert cudf == get_dataframe_package(df.x)
      assert cudf == get_dataframe_package(df.index)
  
imports: import pytest
  from streamz.dataframe.utils import is_dataframe_like, is_series_like, is_index_like, get_base_frame_type, get_dataframe_package
  import pandas
  import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: test_get_dataframe_package_cudf() without return types