title: Apply time shift on Pandas DataFrame from another column
body: <p>I am trying to add some seconds to a DateTime index of a Pandas DataFrame.</p>
  
  <p>In order to do this I need to subtract the values from the other column:</p>
  
  <pre><code>&gt;&gt;&gt; frame["s_eventdatetime"] = frame["eventdatetime"].apply(lambda x: x - datetime.timedelta(seconds=frame["seconds"])) 
  TypeError: unsupported type for timedelta seconds component: Series
  </code></pre>
  
  <p>Does someone know how to do this for the according row values, which are different in each row. There is no constant value. I think this fails because some rows have NaN entries.</p>