code: def array2ntpl(arr):
      
  
      cls = collections.namedtuple(arr[2], arr[1])
      return cls(*tuple(arr[0]))
docs: Convert a :class:`numpy.ndarray` object constructed by :func:`ntpl2array`
      back to the original :func:`collections.namedtuple` representation.
  
      Parameters
      ----------
      arr : ndarray
        Array representation of named tuple constructed by :func:`ntpl2array`
  
      Returns
      -------
      ntpl : collections.namedtuple object
        Named tuple object with the same name and fields as the original named
        typle object provided to :func:`ntpl2array`