pyarrow.compute.ScalarAggregateOptions — Apache Arrow v20.0.0 (original) (raw)
class pyarrow.compute.ScalarAggregateOptions(*, skip_nulls=True, min_count=1)#
Bases: _ScalarAggregateOptions
Options for scalar aggregations.
Parameters:
Whether to skip (ignore) nulls in the input. If False, any null in the input forces the output to null.
min_countint, default 1
Minimum number of non-null values in the input. If the number of non-null values is below min_count, the output is null.
__init__(self, *, skip_nulls=True, min_count=1)#
Methods
static deserialize(buf)#
Deserialize options for a function.
Parameters:
bufBuffer
The buffer containing the data to deserialize.
serialize(self)#