pyarrow.compute.StructFieldOptions#

class pyarrow.compute.StructFieldOptions(indices)#

Bases: _StructFieldOptions

Options for the struct_field function.

Parameters:
indicesList[str], List[bytes], List[int], Expression, bytes, str, or 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)#