title: Python: Adding hours to pandas timestamp
body: <p>I read a csv file into pandas dataframe <code>df</code> and I get the following:</p>
  
  <pre><code>df.columns
  Index([u'TDate', u'Hour', u'SPP'], dtype='object')
  &gt;&gt;&gt; type(df['TDate'][0])
  &lt;class 'pandas.tslib.Timestamp'&gt;
  
  type(df['Hour'][0])
  &lt;type 'numpy.int64'&gt;
  
  &gt;&gt;&gt; type(df['TradingDate'])
  &lt;class 'pandas.core.series.Series'&gt;
  &gt;&gt;&gt; type(df['Hour'])
  &lt;class 'pandas.core.series.Series'&gt;
  </code></pre>
  
  <p>Both the <code>Hour</code> and <code>TDate</code> columns have 100 elements. I want to add the corresponding elements of Hour to TDate.</p>
  
  <p>I tried the following:</p>
  
  <pre><code>import pandas as pd
  from datetime import date, timedelta as td
  z3 = pd.DatetimeIndex(df['TDate']).to_pydatetime() + td(hours = df['Hour'])
  </code></pre>
  
  <p>But I get error as it seems td doesn't take array as argument. How do I add each element of <code>Hour</code> to corresponding element of <code>TDate</code>.</p>