pass ddof from var/std to _var/_std
@@ -1092,7 +1092,8 @@ cdef class ndarray:
:meth:`numpy.ndarray.var`
"""
- return _var(self, axis=axis, dtype=dtype, out=out, keepdims=keepdims)
+ return _var(self, axis=axis, dtype=dtype, out=out, ddof=ddof,
+ keepdims=keepdims)
cpdef ndarray std(self, axis=None, dtype=None, out=None, ddof=0,
keepdims=False):
@@ -1103,7 +1104,8 @@ cdef class ndarray:
:meth:`numpy.ndarray.std`
"""
- return _std(self, axis=axis, dtype=dtype, out=out, keepdims=keepdims)
+ return _std(self, axis=axis, dtype=dtype, out=out, ddof=ddof,
+ keepdims=keepdims)
cpdef ndarray prod(self, axis=None, dtype=None, out=None, keepdims=None):
"""Returns the product along a given axis.
