danepitkin commented on code in PR #36977:
URL: https://github.com/apache/arrow/pull/36977#discussion_r1291635682
##########
python/pyarrow/_compute.pyx:
##########
@@ -1974,6 +1975,26 @@ class CumulativeOptions(_CumulativeOptions):
self._set_options(start, skip_nulls)
+class CumulativeSumOptions(_CumulativeOptions):
+ """
+ Options for `cumulative_sum` function.
+
+ Parameters
+ ----------
+ start : Scalar, default None
+ Starting value for sum computation
+ skip_nulls : bool, default False
+ When false, the first encountered null is propagated.
+ """
+
+ def __init__(self, start=None, *, skip_nulls=False):
+ warnings.warn(
+ _DEPR_MSG.format("CumulativeSumOptions", "14.0",
"CumulativeOptions"),
+ FutureWarning,
+ )
Review Comment:
```suggestion
FutureWarning,
stacklevel=2
)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]