title: Python pandas datetime -- changing only year under specific condition
body: <p>I have a data frame:
  <a href="https://i.stack.imgur.com/OrqVr.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OrqVr.jpg" alt="enter image description here"></a></p>
  
  <p><code>Opening Date2</code> and <code>Closing Date2</code> are diatomite objects that I've created. </p>
  
  <p>I would like to add another column as <code>Closing Date Actual</code>. </p>
  
  <p>If <code>Change Closing Date</code> is True, I would like to add <code>Closing Date2</code> column into my new column with adding 1 year. If it is False, I would like to add as it is.</p>
  
  <p>For example, in the new column, the first 5 rows will be:</p>
  
  <pre><code>2015-06-25
  2015-03-19
  2015-01-22
  2014-04-04
  2014-02-07
  </code></pre>
  
  <p>I tried to use list comprehensions, time delta functions but couldn't make it work.</p>