code: def _MakeEnumerateTestDataWithNullTopLevel() -> (
      Iterable[EnumerateStructNullValueTestData]
  ):
      """Yields test data with a top level list element is missing."""
      test_data_type = pa.list_(
          pa.struct([("f2", pa.list_(pa.float64()))])
      )
      struct_column_as_list_dicts = [
          [],  # first element of 'c'; note this is not counted as missing.
          None,  # c is missing.
          [  # third element of 'c'
              None,  # f2 is missing
          ],
          [],  # fourth element of 'c'; note this is not counted as missing.
      ]
      array = pa.array(struct_column_as_list_dicts, type=test_data_type)
      validity_buffer_with_null = array.buffers()[0]
      array_with_null_indicator = pa.Array.from_buffers(
          array.type,
          len(array) + array.offset,
          [validity_buffer_with_null, array.buffers()[1]],
          offset=0,
          children=[array.values],
      )
      batch_with_missing_entry = pa.RecordBatch.from_arrays(
          [array_with_null_indicator], ["c"]
      )
      missing_expected_results = {
          types.FeaturePath(["c"]): pa.array(
              [[], None, [None], []], type=test_data_type
          ),
          types.FeaturePath(["c", "f2"]): pa.array(
              [None], type=pa.list_(pa.float64())
          ),
      }
      yield (
          "ValuesPresentWithNullIndicator",
          batch_with_missing_entry,
          missing_expected_results,
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import itertools
  from typing import Dict, Iterable, NamedTuple
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  import pyarrow
  import six
  from tensorflow_data_validation import types
  from tensorflow_data_validation.arrow import arrow_util
  from tensorflow_data_validation.utils.example_weight_map import ExampleWeightMap
  from tfx_bsl.arrow import array_util
  from tfx_bsl.types import tfx_namedtuple
label_desc: Use image node_id 3 for calling a global function with example usage: _MakeEnumerateTestDataWithNullTopLevel() without return types