title: Moving one column value to another column - Pandas
body: <p>This is the current code I use to move one column's value for a certain row to another column for the same row:</p>
  
  <pre><code>#Move 2014/15 column ValB to column ValA
  df.loc[(df.Survey_year == 2014), 'ValA'] = df.loc[(df.Survey_year == 2014), 'ValB']
  </code></pre>
  
  <p>I do the same .loc[] again except on 2015 too. This works, but I don't
  think this is the most efficient way to do it if I'm using a big
  data frame with a lot of values to do this for.</p>