code: def _array_of_arrays(list_of_arrays):
      """Creates an array of array from list of arrays."""
      out = np.empty(len(list_of_arrays), dtype=object)
      out[:] = list_of_arrays
      return out
  
imports: import numpy
  import warnings
  from scipy import sparse
  from .base import KNeighborsMixin, RadiusNeighborsMixin
  from ..base import BaseEstimator
  from ..utils.validation import check_array
  from ..utils import check_random_state
  from ..metrics.pairwise import pairwise_distances
  from ..random_projection import GaussianRandomProjection
label_desc: Use image node_id 3 for calling a global function with example usage: _array_of_arrays(list_of_arrays) and returns: out