code: def data_empty(with_tf_schema):
      """TFRecords generated from this corresponds to
      the `tf_records_empty` fixture."""
      return [
          # Row one.
          {
              "int_item": [1] if with_tf_schema else 1,
              "int_list": [2, 2, 3],
              "int_partial": [],
              "int_empty": [],
              "float_item": [1.0] if with_tf_schema else 1.0,
              "float_list": [2.0, 3.0, 4.0],
              "float_partial": [1.0] if with_tf_schema else 1.0,
              "float_empty": [],
              "bytes_item": [b"abc"] if with_tf_schema else b"abc",
              "bytes_list": [b"def", b"1234"],
              "bytes_partial": [],
              "bytes_empty": [],
              "string_item": ["uvw"] if with_tf_schema else "uvw",
              "string_list": ["xyz", "999"],
              "string_partial": [] if with_tf_schema else None,
              "string_empty": [],
          },
          # Row two.
          {
              "int_item": [2] if with_tf_schema else 2,
              "int_list": [3, 3, 4],
              "int_partial": [9, 2],
              "int_empty": [],
              "float_item": [2.0] if with_tf_schema else 2.0,
              "float_list": [5.0, 6.0, 7.0],
              "float_partial": [],
              "float_empty": [],
              "bytes_item": [b"ghi"] if with_tf_schema else b"ghi",
              "bytes_list": [b"jkl", b"5678"],
              "bytes_partial": [b"hello"]
              if with_tf_schema
              else b"hello",
              "bytes_empty": [],
              "string_item": ["mno"] if with_tf_schema else "mno",
              "string_list": ["pqr", "111"],
              "string_partial": ["world"]
              if with_tf_schema
              else "world",
              "string_empty": [],
          },
      ]
  
imports: import json
  import os
  from typing import TYPE_CHECKING
  import numpy
  import pytest
  from pandas.api.types import is_float_dtype, is_int64_dtype, is_object_dtype
  import ray
  from ray.tests.conftest import *
label_desc: Use image node_id 4 for calling a global function with example usage: data_empty(with_tf_schema) and returns: list