code: def test_struct_slice_nested_struct():
      data = [
          {"a": {"b": 42, "c": "abc"}},
          {"a": {"b": 42, "c": "hello world"}},
      ]
  
      got = cudf.Series(data)[0:1]
      expect = cudf.Series(data[0:1])
      assert got.to_arrow() == expect.to_arrow()
  
imports: import numpy
  import pandas
  import pyarrow
  import pytest
  import cudf
  from cudf.core.dtypes import StructDtype
  from cudf.testing._utils import DATETIME_TYPES, TIMEDELTA_TYPES, assert_eq
label_desc: Use image node_id 15 for calling a global function with example usage: test_struct_slice_nested_struct() without return types