擅长:python、mysql、java
<p>我发现<a href="https://seaborn.pydata.org/generated/seaborn.distplot.html" rel="nofollow noreferrer">^{<cd1>}</a>不受欢迎。相反,我们应该使用<a href="https://seaborn.pydata.org/generated/seaborn.displot.html" rel="nofollow noreferrer">^{<cd2>}</a></p>
<p>在<a href="https://seaborn.pydata.org/generated/seaborn.displot.html" rel="nofollow noreferrer">^{<cd2>}</a>的第一个参数中,我们可以把<code>pandas.DataFrame</code>放在:</p>
<pre><code>sns.displot(df, x='number_col')
</code></pre>