Cannot compare type 'Timestamp' with type 'int'
<p>When running the following code:</p>

<pre><code>for row,hit in hits.iterrows():
    forwardRows = data[data.index.values &gt; row];
</code></pre>

<p>I get this error:</p>

<pre><code>TypeError: Cannot compare type 'Timestamp' with type 'int'
</code></pre>

<p>If I look into what is being compared here I have these variables:</p>

<pre><code>type(row)
pandas.tslib.Timestamp

row
Timestamp('2015-09-01 09:30:00')
</code></pre>

<p>is being compared with:</p>

<pre><code>type(data.index.values[0])
numpy.datetime64

data.index.values[0]
numpy.datetime64('2015-09-01T10:30:00.000000000+0100')
</code></pre>

<p>I would like to understand whether this is something that can be easily fixed or should I upload a subset of my data?  thanks</p>