From 6977f452a0cbb198ed347e0793fcbac70a6b622a Mon Sep 17 00:00:00 2001 From: Zhengbo Wang Date: Sun, 29 Dec 2024 20:00:57 +0800 Subject: [PATCH] fix cum_sum --- narwhals/series.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/narwhals/series.py b/narwhals/series.py index 2df55aa9e..19dd35933 100644 --- a/narwhals/series.py +++ b/narwhals/series.py @@ -1437,7 +1437,7 @@ def cum_sum(self: Self, *, reverse: bool = False) -> Self: reverse: reverse the operation Returns: - A new Series with the cumulative sum of the values. + A new Series with the cumulative sum of non-null values. Examples: >>> import pandas as pd