in microstates/parameters.py and microstates/parameters_provider.py you are trying to import nanmean from scipy.stats, but in newer version of scipy, the nanmean function is deprecated and is provided by numpy package. Hence, when I install your package, I need to manually rewrite the two mentioned files to:
from numpy import sqrt, nanmean
Dear keypy author(s),
in
microstates/parameters.py
andmicrostates/parameters_provider.py
you are trying to importnanmean
fromscipy.stats
, but in newer version of scipy, thenanmean
function is deprecated and is provided bynumpy
package. Hence, when I install your package, I need to manually rewrite the two mentioned files to:from numpy import sqrt, nanmean
could you change the code?
thanks a lot! Best,
nikola