DAGDA SEARCH | Back to results | Support

pyarrow.compute.RankQuantileOptions — Apache Arrow v26.0.1

Source: https://arrow.apache.org/docs/python/generated/pyarrow.compute.RankQuantileOptions.html

pyarrow.compute.RankQuantileOptions#

class pyarrow.compute.RankQuantileOptions(sort_keys='ascending', *, null_placement=None)#

Bases: _RankQuantileOptions

Options for the rank_quantile function.

Parameters:
sort_keyssequence of (name, order, null_placement) tuples or str, default “ascending”

Names of field/column keys to sort the input on, along with the order each field/column is sorted in. Accepted values for order are “ascending”, “descending”. Accepted values for null_placement are “at_start”, “at_end”. The field name can be a string column name or expression. Alternatively, one can simply pass “ascending” or “descending” as a string if the input is array-like.

null_placementstr | None, default None

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

__init__(self, sort_keys='ascending', *, null_placement=None)#

Methods

__init__(self[, sort_keys, null_placement])

deserialize(Buffer buf)

Deserialize options for a function.

serialize(self)

static deserialize(Buffer buf)#

Deserialize options for a function.

Parameters:
bufBuffer

The buffer containing the data to deserialize.

serialize(self)#
On this page Edit on GitHub