title: How to plot a linear regression with datetimes on the x-axis
body: <p>My DataFrame object looks like</p>
  <pre><code>            amount
  date    
  2014-01-06  1
  2014-01-07  1
  2014-01-08  4
  2014-01-09  1
  2014-01-14  1
  </code></pre>
  <p>I would like a sort of scatter plot with time along the x-axis, and amount on the y, with a line through the data to guide the viewer's eye. If I use the pandas plot <code>df.plot(style=&quot;o&quot;)</code> it's not quite right, because the line is not there. I would like something like the examples <a href="https://seaborn.pydata.org/tutorial/regression.html" rel="nofollow noreferrer">here</a>.</p>