What's wrong with this code to plot dataframe data? : <p>I have a panda dataframe <code>df</code>. It looks something like this;</p>

<pre><code>   Name     Date      Attr1      Attr1      Attr2     Sales
    Joe  26-12-2007  1.000000  1.000000  1.000000     52214
    Joe  27-12-2007  0.975380  0.983405  0.960474     78870
    Joe  28-12-2007  0.959963  0.962608  0.953732     65745
    Joe  31-12-2007  0.940175  0.979434  0.951174     83813
</code></pre>

<p>I want to plot <code>Attr1</code> column. Here is my python code.</p>

<pre><code>import matplotlib.pyplot as plt
df['Attr1'].plot(figsize=(16, 12))
plt.legend()
</code></pre>

<p>No plot appears after running the code. What is wrong with it? I am open to new code to plot <code>Attr1</code> data.</p>

<p>I am using python v3.6</p>
