parameters: (tup)
return_statement: return _nx.concatenate(arrays, 1)
docstring: Stack 1-D arrays as columns into a 2-D array.
  
      Take a sequence of 1-D arrays and stack them as columns
      to make a single 2-D array. 2-D arrays are stacked as-is,
      just like with `hstack`.  1-D arrays are turned into 2-D columns
      first.
  
      Parameters
      ----------
      tup : sequence of 1-D or 2-D arrays.
          Arrays to stack. All of them must have the same first dimension.
  
      Returns
      -------
      stacked : 2-D array
          The array formed by stacking the given arrays.
  
      See Also
      --------
      stack, hstack, vstack, concatenate
  
      Examples
      --------
      >>> a = np.array((1,2,3))
      >>> b = np.array((2,3,4))
      >>> np.column_stack((a,b))
      array([[1, 2],
             [2, 3],
             [3, 4]])
docstring_summary: Stack 1-D arrays as columns into a 2-D array.
docstring_tokens: Stack 1 - D arrays as columns into a 2 - D array .
function: def column_stack(tup):
      """
      Stack 1-D arrays as columns into a 2-D array.
  
      Take a sequence of 1-D arrays and stack them as columns
      to make a single 2-D array. 2-D arrays are stacked as-is,
      just like with `hstack`.  1-D arrays are turned into 2-D columns
      first.
  
      Parameters
      ----------
      tup : sequence of 1-D or 2-D arrays.
          Arrays to stack. All of them must have the same first dimension.
  
      Returns
      -------
      stacked : 2-D array
          The array formed by stacking the given arrays.
  
      See Also
      --------
      stack, hstack, vstack, concatenate
  
      Examples
      --------
      >>> a = np.array((1,2,3))
      >>> b = np.array((2,3,4))
      >>> np.column_stack((a,b))
      array([[1, 2],
             [2, 3],
             [3, 4]])
  
      """
      if not overrides.ARRAY_FUNCTION_ENABLED:
          # raise warning if necessary
          _arrays_for_stack_dispatcher(tup, stacklevel=2)
  
      arrays = []
      for v in tup:
          arr = array(v, copy=False, subok=True)
          if arr.ndim < 2:
              arr = array(arr, copy=False, subok=True, ndmin=2).T
          arrays.append(arr)
      return _nx.concatenate(arrays, 1)
function_tokens: def column_stack ( tup ) : if not overrides . ARRAY_FUNCTION_ENABLED : # raise warning if necessary _arrays_for_stack_dispatcher ( tup , stacklevel = 2 ) arrays = [ ] for v in tup : arr = array ( v , copy = False , subok = True ) if arr . ndim < 2 : arr = array ( arr , copy = False , subok = True , ndmin = 2 ) . T arrays . append ( arr ) return _nx . concatenate ( arrays , 1 )