pyarrow.compute.CumulativeSumOptions#

class pyarrow.compute.CumulativeSumOptions(start=None, *, skip_nulls=False)#

Bases: _CumulativeOptions

Options for cumulative_sum function.

Parameters:
startScalar, default None

Starting value for sum computation

skip_nullsbool, default False

When false, the first encountered null is propagated.

__init__(self, start=None, *, skip_nulls=False)#

Methods

__init__(self[, start, skip_nulls])

deserialize(buf)

Deserialize options for a function.

serialize(self)

static deserialize(buf)#

Deserialize options for a function.

Parameters:
bufBuffer

The buffer containing the data to deserialize.

serialize(self)#