code: def get_ray_xshards():
      from zoo.orca.data import XShards
      import numpy as np
  
      ndarray_dict = {
          "x": np.random.randn(10, 4),
          "y": np.random.randn(10, 4),
      }
  
      spark_xshards = XShards.partition(ndarray_dict)
  
      ray_xshards = RayXShards.from_spark_xshards(spark_xshards)
  
      return ray_xshards, ndarray_dict
  
file_path: analytics-zoo/pyzoo/test/zoo/orca/data/test_ray_xshards.py
imports: import pytest
  import ray
  from zoo.orca.data.ray_xshards import RayXShards
label_desc: Use image node_id 1 for calling a global function with example usage: get_ray_xshards() and returns: ray_xshards,  ndarray_dict