pyarrow.compute.CountOptions#

class pyarrow.compute.CountOptions(mode='only_valid')#

Bases: pyarrow._compute._CountOptions

Options for the count function.

Parameters
modestr, default “only_valid”

Which values to count in the input. Accepted values are “only_valid”, “only_null”, “all”.

__init__(self, mode='only_valid')#

Methods

__init__(self[, mode])

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)#