title: How to plot multiple pandas columns
body: <p>I have dataframe <code>total_year</code>, which contains three columns (<code>year</code>, <code>action</code>, <code>comedy</code>) .</p>
  <p><code>total_year</code></p>
  <p><a href="https://i.stack.imgur.com/u7BTR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u7BTR.png" alt="enter image description here" /></a></p>
  <p>I want to plot the <code>year</code> column on the x-axis, and <code>action</code> &amp; <code>comedy</code> both on the y-axis.</p>
  <p>How can I plot two columns (<code>action</code> and <code>comedy</code>) on y-axis?</p>
  <p>My code plots only one column on y-axis.</p>
  <pre><code>total_year[-15:].plot(x='year', y='action', figsize=(10,5), grid=True)
  </code></pre>
  <p><a href="https://i.stack.imgur.com/svToj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/svToj.png" alt="enter image description here" /></a></p>