ibis.expr.api.StructValue.destructure

StructValue.destructure() ibis.expr.types.DestructValue

Destructure a StructValue into a corresponding DestructValue.

Each subclass of StructValue will be destructed accordingly. For example, a StructColumn will be destructed into a DestructColumn.

When assigned, a destruct column will destructured and assigned to multiple columns.

Parameters

expr (StructColumn) – The struct column to destructure.

Returns

destruct_expr – A destruct value expression.

Return type

ibis.expr.types.DestructValue