code: def stack(
      arrays: Union[Tuple[Array, ...], List[Array]], /, *, axis: int = 0
  ) -> Array:
      """
      Array API compatible wrapper for :py:func:`np.stack <numpy.stack>`.
  
      See its docstring for more information.
      """
      # Call result type here just to raise on disallowed type combinations
      result_type(*arrays)
      arrays = tuple(a._array for a in arrays)
      return Array._new(np.stack(arrays, axis=axis))
  
file_path: numpy/numpy/array_api/_manipulation_functions.py
imports: from __future__ import annotations
  from ._array_object import Array
  from ._data_type_functions import result_type
  from typing import List, Optional, Tuple, Union
  import numpy
label_desc: Use image node_id 8 for calling a global function with example usage: stack() and returns: Array