title: Timestamp is no longer supported error when creating a new column
body: <p>I would like to ask a question abou the error I am getting here. I am trying to create a new column that intiate a position if the price of tomorrow is predicted higher than today using the following code. it is giving me the error:</p>
  <blockquote>
  <p>TypeError: Addition/subtraction of integers and integer-arrays with Timestamp is no longer supported.  Instead of adding/subtracting <code>n</code>, use <code>n * obj.freq</code></p>
  </blockquote>
  <pre><code>new= pd.DataFrame(index=x_valid.index)
  
  new['Shares'] = [1 if x_valid[i+1] &gt; x_valid[i] else 0 for i in new.index]
  
  </code></pre>
  <pre><code>---------------------------------------------------------------------------
  TypeError                                 Traceback (most recent call last)
  &lt;ipython-input-92-5e7800e6d5ce&gt; in &lt;module&gt;()
        2 new= pd.DataFrame(index=x_valid.index)
        3 
  ----&gt; 4 new['Shares'] = [1 if x_valid[i+1]&gt;x_valid[i] else 0 for i in new.index]
  
  &lt;ipython-input-92-5e7800e6d5ce&gt; in &lt;listcomp&gt;(.0)
        2 new= pd.DataFrame(index=x_valid.index)
        3 
  ----&gt; 4 new['Shares'] = [1 if x_valid[i+1]&gt;x_valid[i] else 0 for i in new.index]
  
  pandas/_libs/tslibs/timestamps.pyx in pandas._libs.tslibs.timestamps._Timestamp.__add__()
  
  TypeError: Addition/subtraction of integers and integer-arrays with Timestamp is no longer supported.  Instead of adding/subtracting `n`, use `n * obj.freq`
  </code></pre>
  <p>Any insights would be much appreciated</p>