Seaborn regplot using datetime64 as the x axis : <p>I have a dataframe looks like this:</p>

<pre><code>date         score  
2017-06-04    90
2017-06-03    80
2017-06-02    70
</code></pre>

<p>When I tried this:</p>

<pre><code>sns.regplot(x=date, y=score, data=df)
</code></pre>

<p>I got an error:</p>

<pre><code>TypeError: reduction operation 'mean' not allowed for this dtype
</code></pre>

<p>The dtype for date is <code>datetime64[ns]</code>, and <code>int64</code> for the score column.</p>

<p>How can I covert the <code>date</code> column so that <code>regplot</code> will work?</p>
