title: How to specify x and y axis for plotting dataframe in Python
body: <p>I would like to spcify x and y axis to draw data in dataframe in Python.</p>
  
  <p>For example, I have four columns in dataframe. And here's my code.</p>
  
  <pre><code>df.plot(x=df['a'], y=df['b'], label=df['c']) 
  </code></pre>
  
  <hr>
  
  <p>It throws an error saying: These values come from 'b' column. </p>
  
  <blockquote>
    <p>"KeyError: '[  500.8   567.2   487.2   444.4  1371.6   714.4  1157.4<br>
    476.8   345.4\n  1076.4   881.8   813.    452.6   663.6   606.8   469.2   805.2   487.4\n   497.8   440.    127.     68.6  1494.2   716.4  1447.     97.8   110.\n  1126.4  1422.8    92.4  1000.8] not in index'"</p>
  </blockquote>
  
  <p>Thank you for the help in advance.</p>