parameters: (a, axis1, axis2)
return_statement: return _npi.swapaxes(a, dim1=axis1, dim2=axis2)
docstring: Interchange two axes of an array.
  
      Parameters
      ----------
      a : ndarray
          Input array.
      axis1 : int
          First axis.
      axis2 : int
          Second axis.
  
      Returns
      -------
      a_swapped : ndarray
          Swapped array. This is always a copy of the input array.
docstring_summary: Interchange two axes of an array.
docstring_tokens: Interchange two axes of an array .
function: def swapaxes(a, axis1, axis2):
      """Interchange two axes of an array.
  
      Parameters
      ----------
      a : ndarray
          Input array.
      axis1 : int
          First axis.
      axis2 : int
          Second axis.
  
      Returns
      -------
      a_swapped : ndarray
          Swapped array. This is always a copy of the input array.
      """
      return _npi.swapaxes(a, dim1=axis1, dim2=axis2)
function_tokens: def swapaxes ( a , axis1 , axis2 ) : return _npi . swapaxes ( a , dim1 = axis1 , dim2 = axis2 )