pyarrow.compute.ScatterOptions#
- class pyarrow.compute.ScatterOptions(max_index=-1)#
Bases:
_ScatterOptionsOptions for scatter function.
- Parameters:
- max_index
int64, default -1 The max value in the input indices to allow. The length of the function’s output will be this value plus 1. If negative, this value will be set to the length of the input indices minus 1 and the length of the function’s output will be the length of the input indices.
- max_index
- __init__(self, max_index=-1)#
Methods
__init__(self[, max_index])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)#