DAGDA SEARCH | Back to results | Support

pyarrow.compute.DictionaryEncodeOptions — Apache Arrow v26.0.1

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

pyarrow.compute.DictionaryEncodeOptions#

class pyarrow.compute.DictionaryEncodeOptions(null_encoding='mask')#

Bases: _DictionaryEncodeOptions

Options for dictionary encoding.

Parameters:
null_encodingstr, default “mask”

How to encode nulls in the input. Accepted values are “mask” (null inputs emit a null in the indices array), “encode” (null inputs emit a non-null index pointing to a null value in the dictionary array).

__init__(self, null_encoding='mask')#

Methods

__init__(self[, null_encoding])

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