pyarrow.compute.PartitionNthOptions#

classpyarrow.compute.PartitionNthOptions(pivot,*,null_placement='at_end')#

Bases:_PartitionNthOptions

Options for thepartition_nth_indices function.

Parameters:
pivotint

Index into the equivalent sorted array of the pivot element.

null_placementstr, default “at_end”

Where nulls in the input should be partitioned.Accepted values are “at_start”, “at_end”.

__init__(self,pivot,*,null_placement='at_end')#

Methods

__init__(self, pivot, *[, null_placement])

deserialize(buf)

Deserialize options for a function.

serialize(self)

staticdeserialize(buf)#

Deserialize options for a function.

Parameters:
bufBuffer

The buffer containing the data to deserialize.

serialize(self)#