code: def test_nested_struct_from_pandas_empty():
      # tests constructing nested structs columns that would result in
      # libcudf EMPTY type child columns inheriting their parent's null
      # mask. See GH PR: #10761
      pdf = pd.Series([[{"c": {"x": None}}], [{"c": None}]])
      gdf = cudf.from_pandas(pdf)
  
      assert_eq(pdf, gdf)
  
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 19 for calling a global function with example usage: test_nested_struct_from_pandas_empty() without return types