code: def test_scalar_nested_arrays(ray_start_regular_shared):
      data = [[[1]], [[2]]]
      output = do_map_batches(data)
      assert_structure_equals(output, np.array([[[1]], [[2]]]))
  
imports: import numpy
  import pytest
  import torch
  import ray
  from ray.air.util.tensor_extensions.utils import create_ragged_ndarray
  from ray.data.tests.conftest import *
  from ray.tests.conftest import *
label_desc: Use image node_id 10 for calling a global function with example usage: test_scalar_nested_arrays(ray_start_regular_shared) without return types