擅长:python、mysql、java
<p>您必须正确卸载,降级将起作用</p>
<pre><code>pip uninstall -y scikit-learn
pip uninstall -y pandas
pip uninstall -y pandas_ml
pip install scikit-learn==0.21.1
pip install pandas==0.24.2
pip install pandas_ml
</code></pre>
<p>然后导入</p>
<pre><code>from pandas_ml import *
</code></pre>
<p>在<code>Python 3.8.2</code>中测试</p>