pyarrow.compute.ArraySortOptions#

classpyarrow.compute.ArraySortOptions(order='ascending',*,null_placement='at_end')#

Bases:_ArraySortOptions

Options for thearray_sort_indices function.

Parameters:
orderstr, default “ascending”

Which order to sort values in.Accepted values are “ascending”, “descending”.

null_placementstr, default “at_end”

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

__init__(self,order='ascending',*,null_placement='at_end')#

Methods

__init__(self[, order, 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)#