[NumPy-Tickets] [NumPy] #1952: Float not allowed in std ddof
NumPy Trac
numpy-tickets@scipy....
Sun Sep 11 11:09:58 CDT 2011
#1952: Float not allowed in std ddof
------------------------+---------------------------------------------------
Reporter: pv | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: Unscheduled
Component: numpy.core | Version: 1.6.0
Keywords: |
------------------------+---------------------------------------------------
This should also take a floating-point value:
{{{
>>> np.array([1, 1, 2]).std(ddof=1.4)
TypeError: integer argument expected, got float
}}}
In earlier versions of Numpy, this raised a DeprecationWarning --- which
is also not correct behavior.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1952>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list