code: def test_series(data):
      pdsr = pd.Series(data.copy())
      sr = Series(pdsr)
      dsr = dgd.from_cudf(sr, npartitions=5)
  
      np.testing.assert_equal(np.array(pdsr), dsr.compute().values_host)
  
imports: import numpy
  import pandas
  import pytest
  from pandas.testing import assert_series_equal
  from dask import dataframe
  from cudf import DataFrame, Series, date_range
  from cudf.testing._utils import assert_eq, does_not_raise
  import dask_cudf
label_desc: Use image node_id 4 for calling a global function with example usage: test_series(data) without return types