parameters: (self, column_1, column_2)
return_statement: return self
docstring: Swap the columns with the given names. This operation modifies the
          current SFrame in place and returns self.
  
          Parameters
          ----------
          column_1 : string
              Name of column to swap
  
          column_2 : string
              Name of other column to swap
  
          Returns
          -------
          out : SFrame
              The SFrame with swapped columns.
  
          Examples
          --------
          >>> sf = graphlab.SFrame({'id': [1, 2, 3], 'val': ['A', 'B', 'C']})
          >>> sf.swap_columns('id', 'val')
          >>> sf
          +-----+-----+
          | val | id  |
          +-----+-----+
          |  A  |  1  |
          |  B  |  2  |
          |  C  |  3  |
          +----+-----+
          [3 rows x 2 columns]
docstring_summary: Swap the columns with the given names. This operation modifies the
          current SFrame in place and returns self.
docstring_tokens: Swap the columns with the given names . This operation modifies the current SFrame in place and returns self .
function: def swap_columns(self, column_1, column_2):
          """
          Swap the columns with the given names. This operation modifies the
          current SFrame in place and returns self.
  
          Parameters
          ----------
          column_1 : string
              Name of column to swap
  
          column_2 : string
              Name of other column to swap
  
          Returns
          -------
          out : SFrame
              The SFrame with swapped columns.
  
          Examples
          --------
          >>> sf = graphlab.SFrame({'id': [1, 2, 3], 'val': ['A', 'B', 'C']})
          >>> sf.swap_columns('id', 'val')
          >>> sf
          +-----+-----+
          | val | id  |
          +-----+-----+
          |  A  |  1  |
          |  B  |  2  |
          |  C  |  3  |
          +----+-----+
          [3 rows x 2 columns]
          """
          colnames = self.column_names()
          colid_1 = colnames.index(column_1)
          colid_2 = colnames.index(column_2)
          with cython_context():
              self.__proxy__.swap_columns(colid_1, colid_2)
          self._cache = None
          return self
function_tokens: def swap_columns ( self , column_1 , column_2 ) : colnames = self . column_names ( ) colid_1 = colnames . index ( column_1 ) colid_2 = colnames . index ( column_2 ) with cython_context ( ) : self . __proxy__ . swap_columns ( colid_1 , colid_2 ) self . _cache = None return self