code: def test_struct_field_integer(data):
      for test_key in [0, 1]:
          expect = Series(data).struct.field(test_key)
          ds_got = dgd.from_cudf(Series(data), 2).struct.field(test_key)
          assert_eq(expect, ds_got.compute())
  
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 35 for calling a global function with example usage: test_struct_field_integer(data) without return types