def cumprod(a, axis=None): '''Cumulative product of input''' if axis == None: return _stats.cumulativeProduct(a) else: return _stats.cumulativeProduct(a, axis)
def cumprod(a, axis=None): """Cumulative product of input""" if axis is None: return _stats.cumulativeProduct(a) else: return _stats.cumulativeProduct(a, axis)