Skip to content

Commit 62ff4b4

Browse files
authored
Add some cumulative Column operations (#193)
* add some cumulative Column operations * update
1 parent ed70c67 commit 62ff4b4

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

spec/API_specification/dataframe_api/column_object.py

+26
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,32 @@ def var(self, *, correction: int | float = 1, skip_nulls: bool = True) -> Scalar
525525
Whether to skip null values.
526526
"""
527527

528+
def cumulative_max(self) -> Column:
529+
"""
530+
Reduction returns a Column. Any data type that supports comparisons
531+
must be supported. The returned value has the same dtype as the column.
532+
"""
533+
534+
def cumulative_min(self) -> Column:
535+
"""
536+
Reduction returns a Column. Any data type that supports comparisons
537+
must be supported. The returned value has the same dtype as the column.
538+
"""
539+
540+
def cumulative_sum(self) -> Column:
541+
"""
542+
Reduction returns a Column. Must be supported for numerical and
543+
datetime data types. The returned value has the same dtype as the
544+
column.
545+
"""
546+
547+
def cumulative_prod(self) -> Column:
548+
"""
549+
Reduction returns a Column. Must be supported for numerical and
550+
datetime data types. The returned value has the same dtype as the
551+
column.
552+
"""
553+
528554
def is_null(self) -> Column:
529555
"""
530556
Check for 'missing' or 'null' entries.

0 commit comments

Comments
 (0)