pyarrow.compute.CumulativeSumOptions

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

Bases: _CumulativeSumOptions

Options for cumulative_sum function.

Parameters:
startScalar, default 0.0

Starting value for sum computation

skip_nullsbool, default False

When false, the first encountered null is propagated.

__init__(self, start=0.0, *, 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)