title: How do I create a line graph in Python using Pandas for the number of times something occurs in a year?
body: <p>I have a csv file that describes the visits at a veterinarian office. Each row of data corresponds to one visit. One column is year. How do I plot a line graph with y being the amount of visits and x being the year?</p>
  <pre><code>df.plot.line(x, &quot;year&quot;)
   
  </code></pre>
  <p>I am having trouble assigning x as the number of visits per year.</p>