DAGDA SEARCH | Back to results | Support

pyarrow.compute.MakeStructOptions — Apache Arrow v26.0.1

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

pyarrow.compute.MakeStructOptions#

class pyarrow.compute.MakeStructOptions(field_names=(), *, field_nullability=None, field_metadata=None)#

Bases: _MakeStructOptions

Options for the make_struct function.

Parameters:
field_namessequence of str

Names of the struct fields to create.

field_nullabilitysequence of bool, optional

Nullability information for each struct field. If omitted, all fields are nullable.

field_metadatasequence of KeyValueMetadata, optional

Metadata for each struct field.

__init__(self, field_names=(), *, field_nullability=None, field_metadata=None)#

Methods

__init__(self[, field_names, ...])

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