Plot specific rows of a pandas dataframe
<p>I have a pandas dataframe with three columns and I am plotting each column separately using the following code:</p>

<pre><code>data.plot(y='value')
</code></pre>

<p>Which generates a figure like this one:</p>

<p><a href="https://i.stack.imgur.com/3UeYf.png" rel="noreferrer"><img src="https://i.stack.imgur.com/3UeYf.png" alt="enter image description here"></a></p>

<p>What I need is a subset of these values and not all of them. For example, I want to plot values at rows 500 to 1000 and not from 0 to 3500. Any idea how I can tell the plot function to only pick those?</p>

<p>Thanks</p>