parameters: (*arys)
docstring: View inputs as arrays with at least two dimensions.
  
      Parameters
      ----------
      array1, array2, ... : array_like
          One or more array-like sequences.  Non-array inputs are converted
          to arrays.  Arrays that already have two or more dimensions are
          preserved.
  
      Returns
      -------
      res, res2, ... : ndarray
          An array, or tuple of arrays, each with ``a.ndim >= 2``.
          Copies are avoided where possible, and views with two or more
          dimensions are returned.
  
      See Also
      --------
      atleast_1d, atleast_3d
  
      Examples
      --------
      >>> np.atleast_2d(3.0)
      array([[ 3.]])
  
      >>> x = np.arange(3.0)
      >>> np.atleast_2d(x)
      array([[ 0.,  1.,  2.]])
      >>> np.atleast_2d(x).base is x
      True
  
      >>> np.atleast_2d(1, [1, 2], [[1, 2]])
      [array([[1]]), array([[1, 2]]), array([[1, 2]])]
docstring_summary: View inputs as arrays with at least two dimensions.
docstring_tokens: View inputs as arrays with at least two dimensions .
function: def atleast_2d(*arys):
      """
      View inputs as arrays with at least two dimensions.
  
      Parameters
      ----------
      array1, array2, ... : array_like
          One or more array-like sequences.  Non-array inputs are converted
          to arrays.  Arrays that already have two or more dimensions are
          preserved.
  
      Returns
      -------
      res, res2, ... : ndarray
          An array, or tuple of arrays, each with ``a.ndim >= 2``.
          Copies are avoided where possible, and views with two or more
          dimensions are returned.
  
      See Also
      --------
      atleast_1d, atleast_3d
  
      Examples
      --------
      >>> np.atleast_2d(3.0)
      array([[ 3.]])
  
      >>> x = np.arange(3.0)
      >>> np.atleast_2d(x)
      array([[ 0.,  1.,  2.]])
      >>> np.atleast_2d(x).base is x
      True
  
      >>> np.atleast_2d(1, [1, 2], [[1, 2]])
      [array([[1]]), array([[1, 2]]), array([[1, 2]])]
  
      """
      res = []
      for ary in arys:
          ary = asanyarray(ary)
          if len(ary.shape) == 0 :
              result = ary.reshape(1, 1)
          elif len(ary.shape) == 1 :
              result = ary[newaxis, :]
          else :
              result = ary
          res.append(result)
      if len(res) == 1:
          return res[0]
      else:
          return res
function_tokens: def atleast_2d ( * arys ) : res = [ ] for ary in arys : ary = asanyarray ( ary ) if len ( ary . shape ) == 0 : result = ary . reshape ( 1 , 1 ) elif len ( ary . shape ) == 1 : result = ary [ newaxis , : ] else : result = ary res . append ( result ) if len ( res ) == 1 : return res [ 0 ] else : return res