Pandas plot dataframe by index, how it works?
<p>Given the data:</p>

<pre><code>Column1; Column2; Column3
1; 4; 6
2; 2; 6
3; 3; 8
4; 1; 1
5; 4; 2
</code></pre>

<p>With the following code I get the following graphic:</p>

<pre><code>import pandas as pd
import matplotlib.pyplot as plt
df = pd.read_csv('test0.csv',delimiter='; ', engine='python')
df.plot(0,0)
plt.savefig('fig0.png')
</code></pre>

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

<p>And, with the following code I get the following graphic:</p>

<pre><code>import pandas as pd
import matplotlib.pyplot as plt
df = pd.read_csv('test0.csv',delimiter='; ', engine='python')
df.plot(0,1)
plt.savefig('fig1.png')
</code></pre>

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

<p>What's the logic in <code>df.plot(m,n)</code>? Let's say I want to plot <code>Column2 X Column3</code>  what's <code>m</code> and <code>n</code>(<code>df.plot(2,3)</code>) ? </p>