def cumsum(self, axis=None, dtype=None): if dtype is None: dtype = self.dtype return _maths.cumsum(self, axis).astype(dtype)
def cumsum(self, axis=None, dtype=None): dtype = _translatenativetype(dtype) if dtype is None: dtype = self.dtype return _maths.cumsum(self, axis).astype(dtype)