[Python-modules-team] Bug#723722: python-scipy: stats.nanmean prints a warning when using NaN only array

Drew Parsons dparsons at debian.org
Fri Mar 29 10:48:32 GMT 2019


Package: python-scipy
Followup-For: Bug #723722

nanmean is now removed from scipy.stats (1.1.0-4)

np.nanmean will process the array (without a warning) if given as a
numpy array (numpy 1:1.16.2-1):

>>> np.nanmean(np.array([np.nan, np.nan]))
nan



More information about the Python-modules-team mailing list