pyarrow.compute.StructFieldOptions

class pyarrow.compute.StructFieldOptions(indices)

Bases: pyarrow._compute._StructFieldOptions

Options for the struct_field function.

Parameters
indicessequence of int

List of indices for chained field lookup, for example [4, 1] will look up the second nested field in the fifth outer field.

__init__(self, indices)

Methods

__init__(self, indices)

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)