pyarrow.compute.CountOptions#
- class pyarrow.compute.CountOptions(mode='only_valid')#
Bases:
pyarrow._compute._CountOptions
Options for the count function.
- Parameters
- mode
str
, default “only_valid” Which values to count in the input. Accepted values are “only_valid”, “only_null”, “all”.
- mode
- __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
- buf
Buffer
The buffer containing the data to deserialize.
- buf
- serialize(self)#