pyarrow.compute.WinsorizeOptions#

class pyarrow.compute.WinsorizeOptions(lower_limit, upper_limit)#

Bases: _WinsorizeOptions

Options for the winsorize function.

Parameters:
lower_limitfloat, between 0 and 1

The quantile below which all values are replaced with the quantile’s value.

upper_limitfloat, between 0 and 1

The quantile above which all values are replaced with the quantile’s value.

__init__(self, lower_limit, upper_limit)#

Methods

__init__(self, lower_limit, upper_limit)

deserialize(buf)

Deserialize options for a function.

serialize(self)

static deserialize(buf)#

Deserialize options for a function.

Parameters:
bufBuffer

The buffer containing the data to deserialize.

serialize(self)#