pyarrow.compute.CountOptions#
- class pyarrow.compute.CountOptions(mode='only_valid')#
Bases:
_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)#