code: def read_array(array_file: Union[pathlib.Path, str]) -> np.ndarray:
      """Load surface data into a Numpy array."""
      return old_surface.load_surf_data(array_file)
  
file_path: nilearn/nilearn/experimental/surface/_io.py
imports: import pathlib
  from typing import Dict, Union
  import nibabel
  import numpy
  from nilearn import surface
label_desc: Use image node_id 1 for calling a global function with example usage: read_array(array_file) and returns: old_surface