module 'scipy.stats' has no attribute 'nanmean'
<p>I'm getting the error mentioned in the title.  I have all of the following three imports in my code:</p>

<pre><code>import scipy as sc
import scipy.stats
from scipy import stats
</code></pre>

<p>But still get the error.  I'm sure it has something to do with the version, but can't figure out either how to make it work or a workaround for "nanmean".  Any suggestions would be appreciated.</p>