pyarrow.compute.VarianceOptions¶
- class pyarrow.compute.VarianceOptions(*, ddof=0, skip_nulls=True, min_count=0)¶
Bases:
_VarianceOptions
Options for the variance and stddev functions.
- Parameters:
- ddof
int
, default 0 Number of degrees of freedom.
- skip_nullsbool, default
True
Whether to skip (ignore) nulls in the input. If False, any null in the input forces the output to null.
- min_count
int
, default 0 Minimum number of non-null values in the input. If the number of non-null values is below min_count, the output is null.
- ddof
- __init__(self, *, ddof=0, skip_nulls=True, min_count=0)¶
Methods
__init__
(self, *[, ddof, skip_nulls, min_count])deserialize
(buf)Deserialize options for a function.
serialize
(self)- static deserialize(buf)¶
Deserialize options for a function.
- Parameters:
- buf
Buffer
The buffer containing the data to deserialize.
- buf
- serialize(self)¶