pyarrow.compute.CumulativeOptions#

classpyarrow.compute.CumulativeOptions(start=None,*,skip_nulls=False)#

Bases:_CumulativeOptions

Options forcumulative_* functions.

  • cumulative_sum

  • cumulative_sum_checked

  • cumulative_prod

  • cumulative_prod_checked

  • cumulative_max

  • cumulative_min

Parameters:
startScalar, defaultNone

Starting value for the cumulative operation. If none is given,a default value depending on the operation and input type is used.

skip_nullsbool, defaultFalse

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)

staticdeserialize(buf)#

Deserialize options for a function.

Parameters:
bufBuffer

The buffer containing the data to deserialize.

serialize(self)#