擅长:python、mysql、java
<pre><code>plt.close('all')
ax = GPUDATA.groupby(GPUDATA['Date'])['Price_USD'].mean().plot()
BITCOINDATA.groupby(BITCOINDATA['Date'])['Open'].mean().plot(ax=ax)
plt.show()
</code></pre>
<p><a href="https://i.stack.imgur.com/gdEsL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gdEsL.png" alt="enter image description here"/></a></p>
<p>可以使用打印参数添加标签和图例</p>
<p><a href="https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.plot.html" rel="nofollow noreferrer">https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.plot.html</a></p>