Struct#

The following methods are available under the Series.struct attribute.

Series.struct.field(name)

Retrieve one of the fields of this Struct as a new Series.

Series.struct.json_encode()

Convert this struct to a string column with json values.

Series.struct.rename_fields(names)

Rename the fields of the struct.

Series.struct.unnest()

Convert this struct Series to a DataFrame with a separate column for each field.

Series.struct.fields

Get the names of the fields.

Series.struct.schema

Get the struct definition as a name/dtype schema dict.