Hi All,<br><br>I've been working on Benjamin's PR, which I took down as he didn't have time to finish it. I've made the following changes and thought I'd run them past others before putting up a new pull request.<br>
<br><ol><li>The new functions are consolidated with the old ones inn (new) numpy/lib/nanfunctions.py.</li><li>There is a new test module numpy/lib/tests/test_nanfunctions.py</li><li>The functions punt to standard routines if the array is not inexact.<br>
</li><li>If the array is inexact, then so must be the optional out and dtype arguments.</li><li>Nans are returned for all nan axis, no warnings are raised.</li><li>If cnt - ddof <= 0 the result is Nan for that axis, no warnings are raised.</li>
<li>For scalar returns the type of the array, or the type given by the dtype option, is preserved.<br></li></ol><p>Number 7 does not hold for current mean, var, and std. I propose that those functions be fixed.</p><p>Chuck<br>
</p>